Add pytest coverage to dev dependencies

This commit is contained in:
mbsantiago 2025-04-21 21:26:01 +01:00
parent ce15afc231
commit dcae411ccb
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,6 @@
# Variables
SOURCE_DIR = batdetect2
TESTS_DIR = tests
PYTHON_DIRS = batdetect2 tests
DOCS_SOURCE = docs/source
DOCS_BUILD = docs/build
@ -52,7 +54,7 @@ docs:
sphinx-build -b html $(DOCS_SOURCE) $(DOCS_BUILD)
docs-serve:
sphinx-autobuild $(DOCS_SOURCE) $(DOCS_BUILD) --watch $(PYTHON_DIRS)
sphinx-autobuild $(DOCS_SOURCE) $(DOCS_BUILD) --watch $(SOURCE_DIR) --open-browser
# Formatting & Linting
format:

View File

@ -79,6 +79,7 @@ dev-dependencies = [
"sphinx-autodoc-typehints>=2.3.0",
"sphinx-book-theme>=1.1.4",
"autodoc-pydantic>=2.2.0",
"pytest-cov>=6.1.1",
]
[tool.ruff]