8000 MAINT: moved pytest configuration to pyproject.toml · larray-project/larray_eurostat@4a71b9c · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a71b9c

Browse files
committed
MAINT: moved pytest configuration to pyproject.toml
it requires pytest 6
1 parent ae05a9d commit 4a71b9c

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

pyproject.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
[tool.pytest.ini_options]
2+
minversion = "6.0"
3+
testpaths = [
4+
"larray_eurostat"
5+
]
6+
addopts = [
7+
"-v",
8+
"--doctest-modules",
9+
# "--cov",
10+
]
11+
12+
filterwarnings = [
13+
# turn warnings into errors (unless they are explicitly handled in tests or ignored here)
14+
"error",
15+
]
16+
117
[tool.ruff]
218
# Enable Pyflakes `E` and `F` codes by default.
319
select = ["E", "F"]

setup.cfg

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0