2022-07-03 15:44:51 +00:00
|
|
|
exclude: advlabdb/templates/admin/
|
2022-07-02 22:19:01 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.3.0
|
|
|
|
hooks:
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: detect-private-key
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
|
|
rev: v2.34.0
|
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py39-plus]
|
|
|
|
|
|
|
|
- repo: https://github.com/crate-ci/typos
|
|
|
|
rev: v1.10.2
|
|
|
|
hooks:
|
|
|
|
- id: typos
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 22.6.0
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
|
|
rev: 5.10.1
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
2022-07-03 15:44:51 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/bandit
|
|
|
|
rev: 1.7.4
|
|
|
|
hooks:
|
|
|
|
- id: bandit
|
2022-07-03 16:41:44 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
|
|
rev: 4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|