.pre-commit-config.yaml•1.05 kB
default_stages: [pre-commit]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-merge-conflict
- id: debug-statements
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py310-plus]
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- id: flake8
args: ["--config=setup.cfg"]
additional_dependencies: [flake8-isort]
- repo: https://github.com/PyCQA/bandit
rev: "1.7.0"
hooks:
- id: bandit
args: ["-r", "--configfile=bandit-config.yml"]
- repo: https://github.com/zricethezav/gitleaks
rev: "v8.0.4"
hooks:
- id: gitleaks
ci:
autoupdate_schedule: weekly
skip: []
submodules: false