diff --git a/Makefile b/Makefile index cf94c63..05cb710 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 821720a..a10e16c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]