Skip to content

Commit 8949d1a

Browse files
committed
Add exclusions for pytest 7 deprecations in plugins. Fixes jaraco/skeleton#57.
1 parent 7e01b72 commit 8949d1a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pytest.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,14 @@ doctest_optionflags=ALLOW_UNICODE ELLIPSIS
55
filterwarnings=
66
# Suppress deprecation warning in flake8
77
ignore:SelectableGroups dict interface is deprecated::flake8
8+
9+
# shopkeep/pytest-black#55
10+
ignore:<class 'pytest_black.BlackItem'> is not using a cooperative constructor:pytest.PytestDeprecationWarning
11+
ignore:The \(fspath. py.path.local\) argument to BlackItem is deprecated.:pytest.PytestRemovedIn8Warning
12+
13+
# tholo/pytest-flake8#83
14+
ignore:<class 'pytest_flake8.Flake8Item'> is not using a cooperative constructor:pytest.PytestDeprecationWarning
15+
ignore:The \(fspath. py.path.local\) argument to Flake8Item is deprecated.:pytest.PytestRemovedIn8Warning
16+
17+
# dbader/pytest-mypy#131
18+
ignore:The \(fspath. py.path.local\) argument to MypyFile is deprecated.:pytest.PytestRemovedIn8Warning

0 commit comments

Comments
 (0)