Skip to content

Commit 8ba8bc9

Browse files
committedMar 30, 2021
remove unused noqa comments
1 parent 01d72d8 commit 8ba8bc9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
import setuptools
77

8-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')) # noqa
8+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))
99

1010
setuptools.setup()

‎src/flake8/plugins/manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def plugins(self):
396396

397397
@staticmethod
398398
def _generate_call_function(method_name, optmanager, *args, **kwargs):
399-
def generated_function(plugin): # noqa: D105
399+
def generated_function(plugin):
400400
method = getattr(plugin, method_name, None)
401401
if method is not None and callable(method):
402402
return method(optmanager, *args, **kwargs)

0 commit comments

Comments
 (0)
Please sign in to comment.