2022-05-11 19:06:16 -05:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
2023-01-30 16:09:51 +01:00
|
|
|
default_language_version:
|
|
|
|
|
python: python3.10
|
2022-05-11 19:06:16 -05:00
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-10-09 22:11:46 +02:00
|
|
|
rev: v5.0.0
|
2022-05-11 19:06:16 -05:00
|
|
|
hooks:
|
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
- id: check-toml
|
|
|
|
|
- id: check-yaml
|
|
|
|
|
args:
|
|
|
|
|
- --unsafe
|
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
- id: trailing-whitespace
|
2024-08-19 19:40:31 -05:00
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2025-04-21 20:09:18 +02:00
|
|
|
rev: v0.11.6
|
2022-05-11 19:41:06 -05:00
|
|
|
hooks:
|
2022-11-13 19:19:04 +01:00
|
|
|
- id: ruff
|
2022-05-11 19:41:06 -05:00
|
|
|
args:
|
2022-11-13 19:19:04 +01:00
|
|
|
- --fix
|
2023-10-25 00:26:06 +04:00
|
|
|
- id: ruff-format
|
2022-05-12 12:15:13 -05:00
|
|
|
ci:
|
|
|
|
|
autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
|
|
|
|
|
autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate
|