diff --git a/pyproject.toml b/pyproject.toml index b4f4c58..61dbcd4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ dev = [ "black", # Used to format code "pre-commit", # Used to run checks prior to committing code "pytest", # Used to run tests + "pytest-cov", # Used to measure test coverage "pylint", # test pylint in unit tests "pytest-copie", # Used to create hydrated copier projects for testing "tox", # Used to run tests in multiple environments diff --git a/python-project-template/.pre-commit-config.yaml.jinja b/python-project-template/.pre-commit-config.yaml.jinja index 1fd949b..250a7f2 100644 --- a/python-project-template/.pre-commit-config.yaml.jinja +++ b/python-project-template/.pre-commit-config.yaml.jinja @@ -18,7 +18,7 @@ repos: description: Clear output from Jupyter notebooks. files: \.ipynb$ exclude: ^docs/pre_executed - stages: [commit] + stages: [pre-commit] language: system entry: jupyter nbconvert --clear-output # Prevents committing directly branches named 'main' and 'master'.