Skip to content

Commit 579f9f6

Browse files
authored
Merge pull request #1848 from PyCQA/upgrade-pycodestyle
upgrade to pycodestyle 2.11.x
2 parents 9744e5b + 9786562 commit 579f9f6

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ package_dir =
3535
# https://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8
3636
install_requires =
3737
mccabe>=0.7.0,<0.8.0
38-
pycodestyle>=2.10.0,<2.11.0
38+
pycodestyle>=2.11.0,<2.12.0
3939
pyflakes>=3.1.0,<3.2.0
4040
# 3.8.0's importlib.metadata is broken
4141
python_requires = >=3.8.1

src/flake8/plugins/pycodestyle.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
from pycodestyle import maximum_line_length as _maximum_line_length
2424
from pycodestyle import missing_whitespace as _missing_whitespace
2525
from pycodestyle import missing_whitespace_after_keyword as _missing_whitespace_after_keyword # noqa: E501
26-
from pycodestyle import missing_whitespace_around_operator as _missing_whitespace_around_operator # noqa: E501
2726
from pycodestyle import module_imports_on_top_of_file as _module_imports_on_top_of_file # noqa: E501
28-
from pycodestyle import python_3000_async_await_keywords as _python_3000_async_await_keywords # noqa: E501
2927
from pycodestyle import python_3000_invalid_escape_sequence as _python_3000_invalid_escape_sequence # noqa: E501
3028
from pycodestyle import tabs_obsolete as _tabs_obsolete
3129
from pycodestyle import tabs_or_spaces as _tabs_or_spaces
@@ -74,11 +72,9 @@ def pycodestyle_logical(
7472
yield from _imports_on_separate_lines(logical_line)
7573
yield from _indentation(logical_line, previous_logical, indent_char, indent_level, previous_indent_level, indent_size) # noqa: E501
7674
yield from _maximum_doc_length(logical_line, max_doc_length, noqa, tokens)
77-
yield from _missing_whitespace(logical_line)
75+
yield from _missing_whitespace(logical_line, tokens)
7876
yield from _missing_whitespace_after_keyword(logical_line, tokens)
79-
yield from _missing_whitespace_around_operator(logical_line, tokens)
8077
yield from _module_imports_on_top_of_file(logical_line, indent_level, checker_state, noqa) # noqa: E501
81-
yield from _python_3000_async_await_keywords(logical_line, tokens)
8278
yield from _python_3000_invalid_escape_sequence(logical_line, tokens, noqa)
8379
yield from _whitespace_around_comma(logical_line)
8480
yield from _whitespace_around_keywords(logical_line)

0 commit comments

Comments
 (0)