Skip to content

Commit 1a04901

Browse files
committed
dev: Ignore a deprecation warning generated by flake8's usage of importlib_metadata
The warning was turned into an error by our pytest config, and thus resulted in test failures. importlib_metadata used to specially suppress this deprecation warning for flake8, but that special-casing was removed in June without any update to flake8's to avoid the warning. See python/importlib_metadata#319 and the flake8 PRs it links to for more background.
1 parent ac45e4d commit 1a04901

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎pytest.ini‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ python_functions = pytest_*
99

1010
# Turn warnings into errors. Warnings are signs that something needs
1111
# attention, even if that means choosing to add an explicit ignore filter rule
12-
# for them.
12+
# for them. Last matching filter wins.
1313
filterwarnings =
1414
error
15+
ignore:SelectableGroups dict interface:DeprecationWarning:flake8

0 commit comments

Comments
 (0)