Skip to content

Commit 8dd4ce2

Browse files
authored
Improve Flake8 config (#429)
Use only Black compat options. Removing 'select' declaration means that plugin error codes are selected by default.
1 parent 720fcdf commit 8dd4ce2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

setup.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,5 @@ source =
5959
show_missing = True
6060

6161
[flake8]
62-
max-line-length = 80
63-
select = E,F,W,B,B950,C,I,TYP
64-
ignore = E203,E501,W503
62+
max-line-length = 88
63+
extend-ignore = E203

src/pytest_randomly/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def pytest_configure(config: Config) -> None:
126126

127127
class XdistHooks:
128128
# Hooks for xdist only, registered when needed in pytest_configure()
129-
# https://docs.pytest.org/en/latest/writing_plugins.html#optionally-using-hooks-from-3rd-party-plugins # noqa: B950
129+
# https://docs.pytest.org/en/latest/writing_plugins.html#optionally-using-hooks-from-3rd-party-plugins # noqa: E501
130130

131131
def pytest_configure_node(self, node: Item) -> None:
132132
seed = node.config.getoption("randomly_seed")

0 commit comments

Comments
 (0)