diff --git a/python-project-template/.pre-commit-config.yaml.jinja b/python-project-template/.pre-commit-config.yaml.jinja index a625b5a3..6f2613a4 100644 --- a/python-project-template/.pre-commit-config.yaml.jinja +++ b/python-project-template/.pre-commit-config.yaml.jinja @@ -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