summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2017-05-12 20:34:15 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2017-05-12 20:34:15 -0500
commit32f4b65b6b4bb913e8f5201fc0a718878bfec7df (patch)
tree355c4ea13f221c7ae317d6ced5cf9d89486f3a04 /tests/integration
parent0e9bbab55134be3e1ce0b57046779d3e991740c5 (diff)
downloadflake8-32f4b65b6b4bb913e8f5201fc0a718878bfec7df.tar.gz
Fix docstring violations
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/test_checker.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/test_checker.py b/tests/integration/test_checker.py
index 02c840b..6877470 100644
--- a/tests/integration/test_checker.py
+++ b/tests/integration/test_checker.py
@@ -16,7 +16,7 @@ class PluginClass(object):
version = '1.0.0'
def __init__(self, tree):
- """Dummy constructor to provide mandatory parameter."""
+ """Construct a dummy object to provide mandatory parameter."""
pass
def run(self):
@@ -25,7 +25,7 @@ class PluginClass(object):
def plugin_func(func):
- """Decorator for file plugins which are implemented as functions."""
+ """Decorate file plugins which are implemented as functions."""
func.name = 'test'
func.version = '1.0.0'
return func
@@ -33,13 +33,13 @@ def plugin_func(func):
@plugin_func
def plugin_func_gen(tree):
- """Simple file plugin function yielding the expected report."""
+ """Yield the expected report."""
yield EXPECTED_REPORT + (type(plugin_func_gen), )
@plugin_func
def plugin_func_list(tree):
- """Simple file plugin function returning a list of reports."""
+ """Return a list of expected reports."""
return [EXPECTED_REPORT + (type(plugin_func_list), )]