Created
April 29, 2022 08:55
-
-
Save twyle/bb156cfdcc9d8d1e6948a1681c852fcf to your computer and use it in GitHub Desktop.
Pre-commit config file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repos: | |
- hooks: | |
- id: trailing-whitespace | |
- id: check-added-large-files | |
- id: check-ast | |
- id: check-docstring-first | |
- id: debug-statements | |
language_version: python3 | |
- id: check-executables-have-shebangs | |
- id: check-json | |
- id: check-yaml | |
- id: detect-private-key | |
- id: end-of-file-fixer | |
- id: fix-encoding-pragma | |
- args: | |
- --branch | |
- staging | |
- --branch | |
- development | |
- --branch | |
- staging | |
- --branch | |
- production | |
id: no-commit-to-branch | |
- id: pretty-format-json | |
- id: requirements-txt-fixer | |
repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v4.2.0 | |
- hooks: | |
- id: flake8 | |
language_version: python3 | |
repo: https://github.com/PyCQA/flake8 | |
rev: 4.0.1 | |
- hooks: | |
- id: bandit | |
repo: https://github.com/PyCQA/bandit | |
rev: 1.7.4 | |
- hooks: | |
- id: pydocstyle | |
repo: https://github.com/PyCQA/pydocstyle | |
rev: 6.1.1 | |
- hooks: | |
- id: pylint | |
repo: https://github.com/PyCQA/pylint | |
rev: v2.13.7 | |
- hooks: | |
- id: isort | |
repo: https://github.com/PyCQA/isort | |
rev: 5.10.1 | |
- hooks: | |
- id: commitizen | |
stages: | |
- commit-msg | |
repo: https://github.com/commitizen-tools/commitizen | |
rev: master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment