File tree Expand file tree Collapse file tree 4 files changed +4
-25
lines changed Expand file tree Collapse file tree 4 files changed +4
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ addopts = "--black"
13
13
[tool .pytest-enabler .mypy ]
14
14
addopts = " --mypy"
15
15
16
- [tool .pytest-enabler .flake8 ]
17
- addopts = " --flake8"
18
-
19
16
[tool .pytest-enabler .cov ]
20
17
addopts = " --cov"
18
+
19
+ [tool .pytest-enabler .ruff ]
20
+ addopts = " --ruff"
Original file line number Diff line number Diff line change @@ -7,19 +7,11 @@ filterwarnings=
7
7
# Ensure ResourceWarnings are emitted
8
8
default::ResourceWarning
9
9
10
- # Suppress deprecation warning in flake8
11
- ignore:SelectableGroups dict interface is deprecated::flake8
12
-
13
10
# shopkeep/pytest-black#55
14
11
ignore:<class ' pytest_black.BlackItem' > is not using a cooperative constructor:pytest.PytestDeprecationWarning
15
12
ignore:The \(fspath. py.path.local\) argument to BlackItem is deprecated.:pytest.PytestDeprecationWarning
16
13
ignore:BlackItem is an Item subclass and should not be a collector:pytest.PytestWarning
17
14
18
- # tholo/pytest-flake8#83
19
- ignore:<class ' pytest_flake8.Flake8Item' > is not using a cooperative constructor:pytest.PytestDeprecationWarning
20
- ignore:The \(fspath. py.path.local\) argument to Flake8Item is deprecated.:pytest.PytestDeprecationWarning
21
- ignore:Flake8Item is an Item subclass and should not be a collector:pytest.PytestWarning
22
-
23
15
# shopkeep/pytest-black#67
24
16
ignore:' encoding' argument not specified::pytest_black
25
17
Original file line number Diff line number Diff line change @@ -30,11 +30,6 @@ testing =
30
30
# upstream
31
31
pytest >= 6
32
32
pytest-checkdocs >= 2.4
33
- pytest-flake8; \
34
- # workaround for tholo/pytest-flake8#87
35
- python_version < " 3.12"
36
- # workaround for tholo/pytest-flake8#87
37
- flake8 < 5
38
33
pytest-black >= 0.3.7; \
39
34
# workaround for jaraco/skeleton#22
40
35
python_implementation != " PyPy"
@@ -43,6 +38,7 @@ testing =
43
38
# workaround for jaraco/skeleton#22
44
39
python_implementation != " PyPy"
45
40
pytest-enabler >= 1.3
41
+ pytest-ruff
46
42
47
43
# local
48
44
You can’t perform that action at this time.
0 commit comments