Skip to content

Commit d9f2d20

Browse files
committed
Fix.
1 parent 41ec214 commit d9f2d20

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,15 @@ extend-ignore = [
6363

6464
[tool.ruff.pydocstyle]
6565
convention = "numpy"
66+
67+
68+
[tool.pytest.ini_options]
69+
# Do not add src since it messes with the loading of pytask-parallel as a plugin.
70+
testpaths = ["tests"]
71+
markers = [
72+
"wip: Tests that are work-in-progress.",
73+
"unit: Flag for unit tests which target mainly a single function.",
74+
"integration: Flag for integration tests which may comprise of multiple unit tests.",
75+
"end_to_end: Flag for tests that cover the whole program.",
76+
]
77+
norecursedirs = [".idea", ".tox"]

tox.ini

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,9 @@ conda_channels =
99
conda-forge
1010
nodefaults
1111
conda_deps =
12-
pytask <0.4
12+
pytask =0.3
1313
pytest
1414
pytest-cov
1515
pytest-xdist
1616
commands =
1717
pytest {posargs}
18-
19-
[pytest]
20-
addopts = --doctest-modules
21-
filterwarnings =
22-
ignore: the imp module is deprecated in favour of importlib
23-
ignore: Using or importing the ABCs from 'collections' instead of
24-
ignore: The (parser|symbol) module is deprecated and will be removed in future
25-
junit_family = xunit2
26-
markers =
27-
wip: Tests that are work-in-progress.
28-
unit: Flag for unit tests which target mainly a single function.
29-
integration: Flag for integration tests which may comprise of multiple unit tests.
30-
end_to_end: Flag for tests that cover the whole program.
31-
norecursedirs =
32-
.idea
33-
.tox

0 commit comments

Comments
 (0)