1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-19 18:31:16 +00:00
AdvLabDB/.pre-commit-config.yaml

49 lines
988 B
YAML
Raw Normal View History

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-10-29 22:11:29 +00:00
rev: v3.2.0
2022-07-02 22:19:01 +00:00
hooks:
- id: pyupgrade
2022-10-08 12:44:14 +00:00
args: [--py311-plus]
2022-07-02 22:19:01 +00:00
- repo: https://github.com/crate-ci/typos
2022-11-08 17:21:46 +00:00
rev: v1.12.14
2022-07-02 22:19:01 +00:00
hooks:
- id: typos
2022-10-08 13:07:05 +00:00
pass_filenames: false
2022-07-02 22:19:01 +00:00
- repo: https://github.com/psf/black
2022-10-08 12:44:14 +00:00
rev: 22.10.0
2022-07-02 22:19:01 +00:00
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-15 14:40:41 +00:00
rev: 5.0.4
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
2022-10-16 15:11:12 +00:00
rev: 1.2.2
2022-07-31 01:54:59 +00:00
hooks:
- id: poetry-check
- id: poetry-export