Skip to content

Commit 986bbe2

Browse files
committed
Move pytest configuration to pyproject.toml
Rather than having a separate configuration file for the pytest configuration, it can be consolidated into the general purpose pyproject.toml configuration file.
1 parent 011565f commit 986bbe2

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

compilesketches/tests/pytest.ini

-5
This file was deleted.

pyproject.toml

+7
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ pytest-mock = "3.10.0"
1818
flake8 = "5.0.4"
1919
pep8-naming = "0.13.3"
2020

21+
[tool.pytest.ini_options]
22+
filterwarnings = [
23+
"error",
24+
"ignore::DeprecationWarning",
25+
"ignore::ResourceWarning"
26+
]
27+
2128
[build-system]
2229
requires = ["poetry-core"]
2330
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)