2024-12-10 19:49:11 +08:00
|
|
|
default_install_hook_types: [pre-commit]
|
2024-08-26 23:54:07 +08:00
|
|
|
ci:
|
|
|
|
|
autofix_commit_msg: ":rotating_light: auto fix by pre-commit hooks"
|
|
|
|
|
autofix_prs: true
|
2024-12-10 19:49:11 +08:00
|
|
|
autoupdate_branch: master
|
|
|
|
|
autoupdate_schedule: monthly
|
2024-08-26 23:54:07 +08:00
|
|
|
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
|
|
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2024-12-10 19:49:11 +08:00
|
|
|
rev: v0.8.1
|
2024-08-26 23:54:07 +08:00
|
|
|
hooks:
|
|
|
|
|
- id: ruff
|
2024-12-10 19:49:11 +08:00
|
|
|
args: [--fix]
|
|
|
|
|
stages: [pre-commit]
|
|
|
|
|
- id: ruff-format
|
|
|
|
|
stages: [pre-commit]
|