From d23f77d06e8d12f961b23b7a5be0c24c62f1417e Mon Sep 17 00:00:00 2001 From: Byeonghoon Yoo Date: Tue, 5 Nov 2019 22:16:18 +0900 Subject: [PATCH] Fix lint error --- src/flake8/processor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/flake8/processor.py b/src/flake8/processor.py index 1253e7a..d92f0ba 100644 --- a/src/flake8/processor.py +++ b/src/flake8/processor.py @@ -349,7 +349,8 @@ class FileProcessor(object): :rtype: bool """ - if not self.disable_noqa and any(defaults.NOQA_FILE.match(line) for line in self.lines): + if not self.disable_noqa \ + and any(defaults.NOQA_FILE.match(line) for line in self.lines): return True elif any(defaults.NOQA_FILE.search(line) for line in self.lines): LOG.warning(