Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 783 Bytes

File metadata and controls

27 lines (16 loc) · 783 Bytes

Pre-commit Templates

There are a number of ready-to-go templates in this directory. Pick the one that suites your needs the best and extend it as you'd like.

Please consider contributing back any tweaks as you find them.

Note: You will need to install any of these templates as a .pre-commit-config.yml file in the root of your repository.

Base template

base.precommit-config.yaml

This includes a number of tasks that are bundled with the base pre-commit project. They provide a number of security and best practices across a variety of projects in a language agnostic manner.

Python template

python.precommit-config.yaml

This includes the following Python tools in pre-commit:

  • bandit
  • mypy