Skip to content

Commit 7838f11

Browse files
committed
upgrade pycodestyle to 2.9.x
1 parent 66b3211 commit 7838f11

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ package_dir =
4040
# https://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8
4141
install_requires =
4242
mccabe>=0.7.0,<0.8.0
43-
pycodestyle>=2.8.0,<2.9.0
43+
pycodestyle>=2.9.0,<2.10.0
4444
pyflakes>=2.5.0,<2.6.0
4545
importlib-metadata<4.3;python_version<"3.8"
4646
python_requires = >=3.6.1

src/flake8/plugins/pycodestyle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from pycodestyle import maximum_doc_length as _maximum_doc_length
2222
from pycodestyle import maximum_line_length as _maximum_line_length
2323
from pycodestyle import missing_whitespace as _missing_whitespace
24-
from pycodestyle import missing_whitespace_after_import_keyword as _missing_whitespace_after_import_keyword # noqa: E501
24+
from pycodestyle import missing_whitespace_after_keyword as _missing_whitespace_after_keyword # noqa: E501
2525
from pycodestyle import missing_whitespace_around_operator as _missing_whitespace_around_operator # noqa: E501
2626
from pycodestyle import module_imports_on_top_of_file as _module_imports_on_top_of_file # noqa: E501
2727
from pycodestyle import python_3000_async_await_keywords as _python_3000_async_await_keywords # noqa: E501
@@ -78,7 +78,7 @@ def pycodestyle_logical(
7878
yield from _indentation(logical_line, previous_logical, indent_char, indent_level, previous_indent_level, indent_size) # noqa: E501
7979
yield from _maximum_doc_length(logical_line, max_doc_length, noqa, tokens)
8080
yield from _missing_whitespace(logical_line)
81-
yield from _missing_whitespace_after_import_keyword(logical_line)
81+
yield from _missing_whitespace_after_keyword(logical_line, tokens)
8282
yield from _missing_whitespace_around_operator(logical_line, tokens)
8383
yield from _module_imports_on_top_of_file(logical_line, indent_level, checker_state, noqa) # noqa: E501
8484
yield from _python_3000_async_await_keywords(logical_line, tokens)

0 commit comments

Comments
 (0)