Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions python-project-template/.pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ repos:
- id: no-commit-to-branch
name: Don't commit to main or master branch
description: Prevent the user from committing directly to the primary branch.
- id: check-added-large-files
name: Check for large files
description: Prevent the user from committing very large files.
args: ['--maxkb=500']

# verify that pyproject.toml is well formed
- repo: https://github.com/abravalheri/validate-pyproject
Expand Down