mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 04:06:54 +00:00
Handle case where file was ignored
This commit is contained in:
parent
0b063a1024
commit
ee18ac981e
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ class Manager(object):
|
|||
|
||||
for checker in self.checkers:
|
||||
filename = checker.filename
|
||||
results = sorted(final_results[filename],
|
||||
results = sorted(final_results.get(filename, []),
|
||||
key=lambda tup: (tup[1], tup[2]))
|
||||
for (error_code, line_number, column, text, line) in results:
|
||||
style_guide.handle_error(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue