summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-08-07 10:31:33 -0400
committerJason R. Coombs <jaraco@jaraco.com>2022-08-07 10:31:33 -0400
commit17fda7ef4e4d4bf22ad2d0ae634defecf8b7e886 (patch)
treecd24488e5f0f3253df45ed7ac6183ab56564325f /pytest.ini
parentf7cff188413bcf94961c7cbef3947ca13747ac3b (diff)
downloadpython-setuptools-git-17fda7ef4e4d4bf22ad2d0ae634defecf8b7e886.tar.gz
Add pytest-flake8 and pytest-black and pytest-cov to test lint and style and coverage
Diffstat (limited to 'pytest.ini')
-rw-r--r--pytest.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
index a388360c..56dcdec4 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,6 +1,19 @@
[pytest]
addopts=--doctest-modules
filterwarnings=
+ # Suppress deprecation warning in flake8
+ ignore:SelectableGroups dict interface is deprecated::flake8
+
+ # shopkeep/pytest-black#55
+ ignore:<class 'pytest_black.BlackItem'> is not using a cooperative constructor:pytest.PytestDeprecationWarning
+ ignore:The \(fspath. py.path.local\) argument to BlackItem is deprecated.:pytest.PytestDeprecationWarning
+ ignore:BlackItem is an Item subclass and should not be a collector:pytest.PytestWarning
+
+ # tholo/pytest-flake8#83
+ ignore:<class 'pytest_flake8.Flake8Item'> is not using a cooperative constructor:pytest.PytestDeprecationWarning
+ ignore:The \(fspath. py.path.local\) argument to Flake8Item is deprecated.:pytest.PytestDeprecationWarning
+ ignore:Flake8Item is an Item subclass and should not be a collector:pytest.PytestWarning
+
# acknowledge that TestDistribution isn't a test
ignore:cannot collect test class 'TestDistribution'
ignore:Fallback spawn triggered