Skip to content

Commit 4d7a913

Browse files
committed
chore: improve pytest output and settings
1 parent b074559 commit 4d7a913

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

poetry.lock

Lines changed: 36 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,22 @@ mypy = "^1.10.0"
2020
pytest-cov = "^6.0.0"
2121
tomli-w = "^1.2.0"
2222
pytest-xdist = "^3.6.1"
23+
pytest-sugar = "^1.0.0"
2324

2425
[build-system]
2526
requires = ["poetry-core"]
2627
build-backend = "poetry.core.masonry.api"
2728

29+
[tool.pytest.ini_options]
30+
# Global pytest options, applied locally and in CI
31+
addopts = """
32+
-n auto \
33+
--cov . \
34+
--ignore=fixtures \
35+
--ignore=expected-results \
36+
--capture=tee-sys
37+
"""
38+
2839
[tool.pipx-install]
2940
poetry = "==2.1.1"
3041
poethepoet = "==0.33.1"

0 commit comments

Comments
 (0)