Skip to content

Commit 7eb9fe8

Browse files
authored
Updated names for 4 of the pre-commit hooks. (#165)
1 parent b0981c3 commit 7eb9fe8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
- repo: local
1616
hooks:
1717
- id: jupyter-nb-clear-output
18-
name: jupyter-nb-clear-output
18+
name: Clear output from Jupyter notebooks
1919
description: Clear output from Jupyter notebooks.
2020
files: \.ipynb$
2121
stages: [commit]
@@ -30,7 +30,7 @@ repos:
3030
- repo: local
3131
hooks:
3232
- id: pytest-check
33-
name: pytest-check
33+
name: Run unit tests
3434
description: Run unit tests with pytest.
3535
entry: bash -c "if python -m pytest --co -qq; then python -m pytest --cov=./src --cov-report=html; fi"
3636
language: system
@@ -42,7 +42,7 @@ repos:
4242
rev: v4.4.0
4343
hooks:
4444
- id: no-commit-to-branch
45-
name: Don't commit to main or master branch
45+
name: Prevent main branch commits
4646
description: Prevent the user from committing directly to the primary branch.
4747
- id: check-added-large-files
4848
name: Check for large files
@@ -54,7 +54,7 @@ repos:
5454
rev: v0.12.1
5555
hooks:
5656
- id: validate-pyproject
57-
name: Validate syntax of pyproject.toml
57+
name: Validate pyproject.toml
5858
description: Verify that pyproject.toml adheres to the established schema.
5959
{% if use_isort == true %}
6060
# Automatically sort the imports used in .py files

0 commit comments

Comments
 (0)