diff options
| -rw-r--r-- | setup.py | 2 | ||||
| -rw-r--r-- | src/flake8/plugins/manager.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -5,6 +5,6 @@ import sys import setuptools -sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')) # noqa +sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')) setuptools.setup() diff --git a/src/flake8/plugins/manager.py b/src/flake8/plugins/manager.py index 3d4371d..abfd14b 100644 --- a/src/flake8/plugins/manager.py +++ b/src/flake8/plugins/manager.py @@ -396,7 +396,7 @@ class PluginTypeManager(object): @staticmethod def _generate_call_function(method_name, optmanager, *args, **kwargs): - def generated_function(plugin): # noqa: D105 + def generated_function(plugin): method = getattr(plugin, method_name, None) if method is not None and callable(method): return method(optmanager, *args, **kwargs) |
