From 0bb55d36f2e5b8b4d5240871d7fc7d6a373598ce Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sun, 23 Jan 2022 20:55:08 -0500 Subject: [PATCH] remove slow debug() log flake8 spends ~5-6% of `flake8 -j1 src` on this line --- src/flake8/checker.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/flake8/checker.py b/src/flake8/checker.py index 28c954c..2bbd6f2 100644 --- a/src/flake8/checker.py +++ b/src/flake8/checker.py @@ -337,7 +337,6 @@ class FileChecker: def run_check(self, plugin: LoadedPlugin, **arguments: Any) -> Any: """Run the check in a single plugin.""" - LOG.debug("Running %r with %r", plugin, arguments) assert self.processor is not None try: params = self.processor.keyword_arguments_for(