32 lines
773 B
YAML
32 lines
773 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v2.3.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: "v0.812"
|
|
hooks:
|
|
- id: mypy
|
|
additional_dependencies:
|
|
- pydantic
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v2.10.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
- repo: https://github.com/PyCQA/bandit
|
|
rev: '1.7.0'
|
|
hooks:
|
|
- id: bandit
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.7.0
|
|
hooks:
|
|
- id: isort
|
|
args: ["--profile", "black", "--filter-files"]
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.3.0
|
|
hooks:
|
|
- id: black
|