2022-07-31 01:54:59 +00:00
|
|
|
---
|
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
|
2022-07-31 01:54:59 +00:00
|
|
|
rev: v2.37.3
|
2022-07-02 22:19:01 +00:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py39-plus]
|
|
|
|
|
|
|
|
- repo: https://github.com/crate-ci/typos
|
2022-07-31 01:54:59 +00:00
|
|
|
rev: v1.10.3
|
2022-07-02 22:19:01 +00:00
|
|
|
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
|
2022-08-02 11:39:44 +00:00
|
|
|
rev: 5.0.3
|
2022-07-03 16:41:44 +00:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2022-07-31 01:54:59 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/python-poetry/poetry
|
|
|
|
rev: 1.2.0b3
|
|
|
|
hooks:
|
|
|
|
- id: poetry-check
|
|
|
|
- id: poetry-export
|