mirror of
https://github.com/macaodha/batdetect2.git
synced 2025-06-29 14:41:58 +02:00
Add pytest coverage to dev dependencies
This commit is contained in:
parent
ce15afc231
commit
dcae411ccb
4
Makefile
4
Makefile
@ -1,4 +1,6 @@
|
|||||||
# Variables
|
# Variables
|
||||||
|
SOURCE_DIR = batdetect2
|
||||||
|
TESTS_DIR = tests
|
||||||
PYTHON_DIRS = batdetect2 tests
|
PYTHON_DIRS = batdetect2 tests
|
||||||
DOCS_SOURCE = docs/source
|
DOCS_SOURCE = docs/source
|
||||||
DOCS_BUILD = docs/build
|
DOCS_BUILD = docs/build
|
||||||
@ -52,7 +54,7 @@ docs:
|
|||||||
sphinx-build -b html $(DOCS_SOURCE) $(DOCS_BUILD)
|
sphinx-build -b html $(DOCS_SOURCE) $(DOCS_BUILD)
|
||||||
|
|
||||||
docs-serve:
|
docs-serve:
|
||||||
sphinx-autobuild $(DOCS_SOURCE) $(DOCS_BUILD) --watch $(PYTHON_DIRS)
|
sphinx-autobuild $(DOCS_SOURCE) $(DOCS_BUILD) --watch $(SOURCE_DIR) --open-browser
|
||||||
|
|
||||||
# Formatting & Linting
|
# Formatting & Linting
|
||||||
format:
|
format:
|
||||||
|
@ -79,6 +79,7 @@ dev-dependencies = [
|
|||||||
"sphinx-autodoc-typehints>=2.3.0",
|
"sphinx-autodoc-typehints>=2.3.0",
|
||||||
"sphinx-book-theme>=1.1.4",
|
"sphinx-book-theme>=1.1.4",
|
||||||
"autodoc-pydantic>=2.2.0",
|
"autodoc-pydantic>=2.2.0",
|
||||||
|
"pytest-cov>=6.1.1",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
|
Loading…
Reference in New Issue
Block a user