File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ select = [
27
27
" F" , # pyflakes
28
28
" I" , # isort
29
29
" YTT" , # flake8-2020
30
+ " PT" , # flake8-pytest-style
30
31
]
31
32
extend-ignore = [
32
33
' F403' , # undefined-local-with-import-star
@@ -54,6 +55,9 @@ extend-exclude = [
54
55
[tool .ruff .isort ]
55
56
combine-as-imports = true
56
57
58
+ [tool .ruff .flake8-pytest-style ]
59
+ fixture-parentheses = false
60
+
57
61
[tool .mypy ]
58
62
python_version = " 3.8"
59
63
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ def iter_modules(
113
113
# they might be using a newer version of Python with additional symbols which
114
114
# won't be reflected in trio.socket, and this shouldn't cause downstream test
115
115
# runs to start failing.
116
- @pytest .mark .redistributors_should_skip
116
+ @pytest .mark .redistributors_should_skip ()
117
117
# Static analysis tools often have trouble with alpha releases, where Python's
118
118
# internals are in flux, grammar may not have settled down, etc.
119
119
@pytest .mark .skipif (
@@ -263,7 +263,7 @@ def no_underscores(symbols):
263
263
# modules, instead of once per class.
264
264
@slow
265
265
# see comment on test_static_tool_sees_all_symbols
266
- @pytest .mark .redistributors_should_skip
266
+ @pytest .mark .redistributors_should_skip ()
267
267
# Static analysis tools often have trouble with alpha releases, where Python's
268
268
# internals are in flux, grammar may not have settled down, etc.
269
269
@pytest .mark .skipif (
You can’t perform that action at this time.
0 commit comments