2021-08-22 06:18:15 +03:00
|
|
|
default_language_version:
|
2022-08-28 18:33:35 +03:00
|
|
|
python: python3.10
|
2021-08-22 06:18:15 +03:00
|
|
|
|
2018-05-28 21:18:54 +03:00
|
|
|
repos:
|
2022-01-11 14:13:12 +03:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-08-19 09:20:51 +03:00
|
|
|
rev: v4.3.0
|
2018-05-22 20:56:58 +03:00
|
|
|
hooks:
|
2019-03-08 22:09:45 +03:00
|
|
|
- id: check-merge-conflict
|
2018-05-22 20:56:58 +03:00
|
|
|
- id: check-json
|
|
|
|
- id: check-yaml
|
|
|
|
- id: debug-statements
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
exclude: ^docs/.*$
|
|
|
|
- id: pretty-format-json
|
|
|
|
args:
|
|
|
|
- --autofix
|
2019-03-08 22:09:45 +03:00
|
|
|
- id: trailing-whitespace
|
|
|
|
exclude: README.md
|
2022-01-11 14:13:12 +03:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-08-19 09:20:51 +03:00
|
|
|
rev: v2.37.3
|
2018-06-09 16:01:29 +03:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2024-06-28 16:05:04 +03:00
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
|
|
# Ruff version.
|
2024-07-01 18:03:13 +03:00
|
|
|
rev: v0.5.0
|
2018-05-28 21:18:54 +03:00
|
|
|
hooks:
|
2024-07-01 18:03:13 +03:00
|
|
|
- id: ruff
|
2024-06-28 16:05:04 +03:00
|
|
|
- id: ruff-format
|