Merge branch 'is/490' into 'master'

Fix bug flake8 --diff

Closes #490

See merge request pycqa/flake8!292
This commit is contained in:
Anthony Sottile 2019-01-30 18:09:54 +00:00
commit 941b120819
2 changed files with 44 additions and 1 deletions

View file

@ -429,7 +429,7 @@ class StyleGuideManager(object):
:param dict diffinfo:
Dictionary mapping filenames to sets of line number ranges.
"""
for guide in self.style_guides.values():
for guide in self.style_guides:
guide.add_diff_ranges(diffinfo)