mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-07 12:44:31 +08:00
flake8 changes
This commit is contained in:
1 parent
2962517be0
commit
a0662b3b3b
19 files changed
+124
-71
No files matched your search
@@ -42,9 +42,9 @@ def collect_errors(code):
|
||||
column = int(add_indent or len(match.group(1)))
|
||||
|
||||
code, _, add_line = code.partition('+')
|
||||
l = line_nr + 1 + int(add_line or 0)
|
||||
ln = line_nr + 1 + int(add_line or 0)
|
||||
|
||||
yield WantedIssue(code[1:], l, column)
|
||||
yield WantedIssue(code[1:], ln, column)
|
||||
|
||||
|
||||
def test_normalizer_issue(normalizer_issue_case):
|
||||
|
||||
Reference in new issue
Block a user