mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-31 11:16:54 +00:00
Report the column number for PyFlakes errors; issue #90
This commit is contained in:
parent
da663a77ca
commit
ec25ce4a4a
1 changed files with 2 additions and 1 deletions
|
|
@ -44,4 +44,5 @@ class FlakesChecker(pyflakes.checker.Checker):
|
|||
|
||||
def run(self):
|
||||
for m in self.messages:
|
||||
yield m.lineno, 0, (m.flake8_msg % m.message_args), m.__class__
|
||||
col = getattr(m, 'col', 0)
|
||||
yield m.lineno, col, (m.flake8_msg % m.message_args), m.__class__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue