42 lines
1014 B
YAML
42 lines
1014 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- id: requirements-txt-fixer
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: "v1.4.1"
|
|
hooks:
|
|
- id: mypy
|
|
additional_dependencies:
|
|
- pydantic
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.9.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
- repo: https://github.com/hadialqattan/pycln
|
|
rev: v2.4.0
|
|
hooks:
|
|
- id: pycln
|
|
args: [-a]
|
|
- repo: https://github.com/PyCQA/bandit
|
|
rev: '1.7.5'
|
|
hooks:
|
|
- id: bandit
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.12.0
|
|
hooks:
|
|
- id: isort
|
|
args: ["--profile", "black", "--filter-files"]
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.7.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
rev: v1.5.1
|
|
hooks:
|
|
- id: remove-crlf
|
|
- id: remove-tabs
|