2023-11-08 23:07:04 +00:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
|
|
|
|
|
|
exclude: '_pb2.pyi?$'
|
|
|
|
|
repos:
|
2025-10-27 08:58:15 +00:00
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
|
|
|
rev: v0.14.2
|
2023-11-08 23:07:04 +00:00
|
|
|
hooks:
|
2025-10-27 08:58:15 +00:00
|
|
|
- id: ruff-check
|
|
|
|
|
language: system
|
|
|
|
|
types: [ python ]
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
|
|
|
rev: v1.18.2
|
|
|
|
|
hooks:
|
|
|
|
|
- id: mypy
|
|
|
|
|
language: system
|
|
|
|
|
types: [ python ]
|
|
|
|
|
args: [] # override defaults to empty
|
2023-11-08 23:07:04 +00:00
|
|
|
- repo: https://github.com/pycqa/isort
|
2025-10-27 08:35:08 +00:00
|
|
|
rev: 6.1.0
|
2023-11-08 23:07:04 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: isort
|
2025-10-27 08:58:15 +00:00
|
|
|
language: system
|
|
|
|
|
types: [ python ]
|
2023-11-08 23:07:04 +00:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2025-10-27 08:35:08 +00:00
|
|
|
rev: v6.0.0
|
2023-11-08 23:07:04 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
args: [--markdown-linebreak-ext=md]
|