forked from VimPlug/jedi
Update to flake8 3.8.x
In particular this improves support for detecting usage of various type annotation usages and adds support for correctly parsing type: ignore comments which contain a reason tag.
This commit is contained in:
@@ -13,6 +13,8 @@ ignore =
|
||||
E721,
|
||||
# Line break before binary operator
|
||||
W503,
|
||||
# Single letter loop variables are often fine
|
||||
E741,
|
||||
exclude = jedi/third_party/* .tox/*
|
||||
|
||||
[pycodestyle]
|
||||
|
||||
2
setup.py
2
setup.py
@@ -45,7 +45,7 @@ setup(name='jedi',
|
||||
'Django<3.1', # For now pin this.
|
||||
],
|
||||
'qa': [
|
||||
'flake8==3.7.9',
|
||||
'flake8==3.8.3',
|
||||
],
|
||||
},
|
||||
package_data={'jedi': ['*.pyi', 'third_party/typeshed/LICENSE',
|
||||
|
||||
@@ -122,10 +122,10 @@ def test_multiple_signatures(Script):
|
||||
|
||||
def test_get_signatures_whitespace(Script):
|
||||
s = dedent("""\
|
||||
abs(
|
||||
abs(
|
||||
def x():
|
||||
pass
|
||||
""") # noqa
|
||||
""")
|
||||
assert_signature(Script, s, 'abs', 0, line=1, column=5)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user