Files
zhenxun_bot/.pre-commit-config.yaml
T

17 lines
472 B
YAML
Raw Normal View History

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-13 15:00:56 +08:00
autoupdate_branch: main
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-13 15:00:56 +08:00
rev: v0.8.2
2024-08-26 23:54:07 +08:00
hooks:
- id: ruff
args: [--fix]
stages: [pre-commit]
- id: ruff-format
2024-12-10 20:16:14 +08:00
stages: [pre-commit]