Skip to content

Commit 3565c11

Browse files
committed
Move pytest config to pyproject.toml
1 parent 6685c5a commit 3565c11

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

Diff for: pyproject.toml

+14
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,17 @@ ignore = ["tests"]
9999
[tool.pylint.design]
100100
min-public-methods = 0
101101
max-public-methods = 30
102+
103+
[tool.pytest.ini_options]
104+
testpaths = ["tests/unit/"]
105+
asyncio_mode = "auto"
106+
markers = [
107+
"pydantic: Tests with Pydantic as a dependency",
108+
]
109+
filterwarnings = [
110+
"ignore:Module \"dependency_injector.ext.aiohttp\" is deprecated since version 4\\.0\\.0:DeprecationWarning",
111+
"ignore:Module \"dependency_injector.ext.flask\" is deprecated since version 4\\.0\\.0:DeprecationWarning",
112+
"ignore:Please use \\`.*?\\` from the \\`scipy.*?\\`(.*?)namespace is deprecated\\.:DeprecationWarning",
113+
"ignore:Please import \\`.*?\\` from the \\`scipy(.*?)\\` namespace(.*):DeprecationWarning",
114+
"ignore:\\`scipy(.*?)\\` is deprecated(.*):DeprecationWarning",
115+
]

Diff for: tests/.configs/pytest.ini

-13
This file was deleted.

0 commit comments

Comments
 (0)