28 lines
721 B
YAML
28 lines
721 B
YAML
default_language_version:
|
|
python: python3.12
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: check-case-conflict
|
|
- id: check-json
|
|
exclude: ^\.devcontainer|\.vscode$
|
|
- id: check-merge-conflict
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: detect-private-key
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
rev: v0.2.1
|
|
hooks:
|
|
- id: ruff
|
|
args:
|
|
- --fix
|
|
- id: ruff-format
|
|
|
|
ci:
|
|
autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
|
|
autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate
|