Skip to content

Commit 32b1e6f

Browse files
committed
Readme and testopts
1 parent a2ba609 commit 32b1e6f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Turn-By-Turn
22

33
[![Cron Testing](https://github.com/pylhc/turn_by_turn/workflows/Cron%20Testing/badge.svg)](https://github.com/pylhc/turn_by_turn/actions?query=workflow%3A%22Cron+Testing%22)
4+
[![Coverage](https://raw.githubusercontent.com/pylhc/turn_by_turn/python-coverage-comment-action-data/badge.svg)](https://github.com/pylhc/turn_by_turn/tree/python-coverage-comment-action-data)
45
[![PyPI Version](https://img.shields.io/pypi/v/turn_by_turn?label=PyPI&logo=pypi)](https://pypi.org/project/turn_by_turn/)
56
[![GitHub release](https://img.shields.io/github/v/release/pylhc/turn_by_turn?logo=github)](https://github.com/pylhc/turn_by_turn/)
67
[![Conda-forge Version](https://img.shields.io/conda/vn/conda-forge/turn_by_turn?color=orange&logo=anaconda)](https://anaconda.org/conda-forge/turn_by_turn)

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,20 @@ repository = "https://github.com/pylhc/turn_by_turn"
8585
documentation = "https://pylhc.github.io/turn_by_turn/"
8686
# changelog = "https://github.com/pylhc/turn_by_turn/blob/master/CHANGELOG.md"
8787

88+
# ----- Testing ----- #
89+
90+
[tool.pytest.ini_options]
91+
addopts = [
92+
"--import-mode=importlib",
93+
]
94+
# Helpful for pytest-debugging (leave commented out on commit):
95+
# log_cli = true
96+
# log_cli_level = "DEBUG"
97+
# log_format = "%(levelname)7s | %(message)s | %(name)s"
98+
99+
[tool.coverage.run]
100+
relative_files = true
101+
88102
# ----- Dev Tools Configuration ----- #
89103

90104
[tool.ruff]

0 commit comments

Comments
 (0)