Skip to content

Commit 7c138fa

Browse files
committed
🧪 Order default pytest args
1 parent 9c6c222 commit 7c138fa

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pytest.ini

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,6 @@ addopts =
1818

1919
--junitxml=.test-results/pytest/results.xml
2020

21-
# Fail on non-existing markers:
22-
# * Deprecated since v6.2.0 but may be reintroduced later covering a
23-
# broader scope:
24-
# --strict
25-
# * Exists since v4.5.0 (advised to be used instead of `--strict`):
26-
--strict-markers
27-
28-
# Fail on any config parsing warnings:
29-
# * Exists since v6.0.0rc1
30-
--strict-config
31-
3221
# `pytest-cov`:
3322
-p pytest_cov
3423
--no-cov-on-fail
@@ -40,6 +29,17 @@ addopts =
4029
--cov-context=test
4130
--cov-config=.coveragerc
4231

32+
# Fail on any config parsing warnings:
33+
# * Exists since v6.0.0rc1
34+
--strict-config
35+
36+
# Fail on non-existing markers:
37+
# * Deprecated since v6.2.0 but may be reintroduced later covering a
38+
# broader scope:
39+
# --strict
40+
# * Exists since v4.5.0 (advised to be used instead of `--strict`):
41+
--strict-markers
42+
4343
doctest_optionflags = ALLOW_UNICODE ELLIPSIS
4444

4545
# Marks tests with an empty parameterset as xfail(run=False)

0 commit comments

Comments
 (0)