2022-08-09 19:17:24 +00:00
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2026-01-07 20:48:21 +00:00
|
|
|
rev: v6.0.0
|
2022-08-09 19:17:24 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/isort
|
2026-01-07 20:48:21 +00:00
|
|
|
rev: "7.0.0"
|
2022-08-09 19:17:24 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: isort
|
|
|
|
|
args: ["--profile", "black"]
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2026-01-07 20:48:21 +00:00
|
|
|
rev: 25.12.0
|
2022-08-09 19:17:24 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: black
|
|
|
|
|
args: [--target-version=py310]
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
2026-01-07 20:48:21 +00:00
|
|
|
rev: '7.3.0'
|
2022-08-09 19:17:24 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: flake8
|
|
|
|
|
additional_dependencies:
|
|
|
|
|
- flake8-bugbear
|
|
|
|
|
- flake8-comprehensions
|
|
|
|
|
- flake8-tidy-imports
|
|
|
|
|
- flake8-print
|
|
|
|
|
args: [--max-line-length=120]
|