Skip to content

Commit ce2e6e0

Browse files
authored
Updating stage name from commit to pre-commit. (#498)
1 parent 7412e8d commit ce2e6e0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ dev = [
2727
"black", # Used to format code
2828
"pre-commit", # Used to run checks prior to committing code
2929
"pytest", # Used to run tests
30+
"pytest-cov", # Used to measure test coverage
3031
"pylint", # test pylint in unit tests
3132
"pytest-copie", # Used to create hydrated copier projects for testing
3233
"tox", # Used to run tests in multiple environments

python-project-template/.pre-commit-config.yaml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
description: Clear output from Jupyter notebooks.
1919
files: \.ipynb$
2020
exclude: ^docs/pre_executed
21-
stages: [commit]
21+
stages: [pre-commit]
2222
language: system
2323
entry: jupyter nbconvert --clear-output
2424
# Prevents committing directly branches named 'main' and 'master'.

0 commit comments

Comments
 (0)