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(