2022-11-08 16:51:27 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-11-08 16:54:03 +00:00
|
|
|
rev: "v3.2.0"
|
2022-11-08 16:51:27 +00:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
|
|
|
|
- repo: https://github.com/python-poetry/poetry
|
|
|
|
rev: "1.2.0rc1"
|
|
|
|
hooks:
|
|
|
|
- id: poetry-check
|
|
|
|
- id: poetry-lock
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: "v4.3.0"
|
|
|
|
hooks:
|
|
|
|
# - id: check-added-large-files
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-symlinks
|
|
|
|
# - id: check-json
|
|
|
|
- id: check-toml
|
|
|
|
- id: check-yaml
|
|
|
|
- id: debug-statements
|
|
|
|
- id: destroyed-symlinks
|
|
|
|
- id: detect-private-key
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: fix-byte-order-marker
|
|
|
|
- id: mixed-line-ending
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2022-11-08 16:54:03 +00:00
|
|
|
rev: "v0.990"
|
2022-11-08 16:51:27 +00:00
|
|
|
hooks:
|
|
|
|
- id: mypy
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
|
|
rev: "5.10.1"
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort (python)
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2022-11-08 16:54:03 +00:00
|
|
|
rev: "22.10.0"
|
2022-11-08 16:51:27 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language_version: python
|