2022-09-02 14:31:50 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-09-12 08:58:57 +00:00
|
|
|
rev: "v2.37.3"
|
2022-09-02 14:31:50 +00:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
|
2022-09-12 12:24:05 +00:00
|
|
|
- repo: https://github.com/python-poetry/poetry
|
|
|
|
rev: "1.2.0rc1"
|
|
|
|
hooks:
|
|
|
|
- id: poetry-check
|
|
|
|
- id: poetry-lock
|
|
|
|
|
2022-09-02 14:31:50 +00:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-09-12 08:58:57 +00:00
|
|
|
rev: "v4.3.0"
|
2022-09-02 14:31:50 +00:00
|
|
|
hooks:
|
2022-09-07 12:34:32 +00:00
|
|
|
# - id: check-added-large-files
|
2022-09-02 14:31:50 +00:00
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-symlinks
|
2022-09-05 14:04:52 +00:00
|
|
|
# - id: check-json
|
2022-09-02 14:31:50 +00:00
|
|
|
- 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
|
|
|
|
rev: "v0.971"
|
|
|
|
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
|
|
|
|
rev: "22.8.0"
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language_version: python
|