2021-05-03 15:42:25 +00:00
|
|
|
---
|
2021-03-29 16:47:45 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2023-01-07 14:09:09 +00:00
|
|
|
rev: v3.3.1
|
2021-03-29 16:47:45 +00:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2023-01-07 14:09:09 +00:00
|
|
|
args: ["--py38-plus"]
|
2021-03-29 16:47:45 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2023-01-07 14:09:09 +00:00
|
|
|
rev: 22.12.0
|
2021-03-29 16:47:45 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
|
|
|
|
- repo: https://github.com/asottile/yesqa
|
2023-01-07 14:09:09 +00:00
|
|
|
rev: v1.4.0
|
2021-03-29 16:47:45 +00:00
|
|
|
hooks:
|
|
|
|
- id: yesqa
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-01-07 14:09:09 +00:00
|
|
|
rev: v4.4.0
|
2021-03-29 16:47:45 +00:00
|
|
|
hooks:
|
2023-01-07 14:09:09 +00:00
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-ast
|
|
|
|
- id: check-byte-order-marker
|
|
|
|
- id: check-case-conflict
|
|
|
|
- id: check-docstring-first
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-json
|
2021-03-29 16:47:45 +00:00
|
|
|
- id: check-merge-conflict
|
2023-01-07 14:09:09 +00:00
|
|
|
- id: check-toml
|
2021-03-29 16:47:45 +00:00
|
|
|
- id: check-yaml
|
2023-01-07 14:09:09 +00:00
|
|
|
- id: debug-statements
|
|
|
|
- id: detect-private-key
|
|
|
|
- id: end-of-file-fixer
|
2021-03-29 16:47:45 +00:00
|
|
|
- id: mixed-line-ending
|
2023-01-07 14:09:09 +00:00
|
|
|
- id: requirements-txt-fixer
|
|
|
|
- id: trailing-whitespace
|
2021-04-13 13:55:23 +00:00
|
|
|
|
2021-05-03 15:42:25 +00:00
|
|
|
- repo: https://github.com/pycqa/isort
|
2023-01-07 14:09:09 +00:00
|
|
|
rev: 5.11.4
|
2021-05-03 15:42:25 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort (python)
|
|
|
|
- id: isort
|
|
|
|
name: isort (cython)
|
|
|
|
types: [cython]
|
|
|
|
- id: isort
|
|
|
|
name: isort (pyi)
|
|
|
|
types: [pyi]
|