mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 21:16:54 +00:00
FileChecker.run_check: Delete an extremely expensive LOG.debug call
This single statement accounts for about 11% of flake8’s running time when debugging is *disabled*. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
f94e0095fd
commit
2529983e5c
1 changed files with 0 additions and 1 deletions
|
|
@ -424,7 +424,6 @@ class FileChecker(object):
|
|||
|
||||
def run_check(self, plugin, **arguments):
|
||||
"""Run the check in a single plugin."""
|
||||
LOG.debug("Running %r with %r", plugin, arguments)
|
||||
try:
|
||||
self.processor.keyword_arguments_for(
|
||||
plugin["parameters"], arguments
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue