mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-02-03 18:45:32 +08:00
* ⬆️ auto update by pre-commit hooks updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.13 → v0.12.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.12.3) * 🚨 auto fix by pre-commit hooks * ⬆️ Upgrade dependency ruff to v0.12.4 * 🚨 修复 lint 警告 * 🚨 添加一个 noqa( --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: 呵呵です <51957264+shoucandanghehe@users.noreply.github.com> Co-authored-by: shoucandanghehe <wallfjjd@gmail.com>
23 lines
648 B
YAML
23 lines
648 B
YAML
default_install_hook_types: [pre-commit, prepare-commit-msg]
|
|
ci:
|
|
autofix_commit_msg: ':rotating_light: auto fix by pre-commit hooks'
|
|
autofix_prs: true
|
|
autoupdate_branch: main
|
|
autoupdate_schedule: weekly
|
|
autoupdate_commit_msg: ':arrow_up: auto update by pre-commit hooks'
|
|
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.12.4
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix]
|
|
stages: [pre-commit]
|
|
- id: ruff-format
|
|
stages: [pre-commit]
|
|
|
|
- repo: https://github.com/nonebot/nonemoji
|
|
rev: v0.1.4
|
|
hooks:
|
|
- id: nonemoji
|
|
stages: [prepare-commit-msg]
|