diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-10-24 10:31:24 +0000 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-10-24 10:31:24 +0000 |
| commit | 7fc699e28bda8678d60d7a152a2341781f02220b (patch) | |
| tree | d1ecf06b16961a0375acfffdd880b124d79a2311 /docs/source/plugin-development | |
| parent | d6b7d450203cb47a676f0a9c174de5ff428fda57 (diff) | |
| parent | 7998734fe62ce1d037b6b7932e51ec37e949ac59 (diff) | |
| download | flake8-7fc699e28bda8678d60d7a152a2341781f02220b.tar.gz | |
Merge branch 'bug/237' into 'master'
Handle SyntaxErrors after new-lines specially
In some cases, when we handle SyntaxErrors we need to ensure that the
column number is correct for a 1-indexed report. In some cases, we also
need to account for the fact that the SyntaxError has happened "after" a
new-line. To extract and alter the row and column numbers, we've moved
the logic to a private static method on the FileChecker object to avoid
an overly complex method.
Closes #237
See merge request !125
Diffstat (limited to 'docs/source/plugin-development')
0 files changed, 0 insertions, 0 deletions
