nonebot2/.pre-commit-config.yaml

23 lines
562 B
YAML
Raw Normal View History

2022-01-15 21:27:43 +08:00
ci:
autofix_commit_msg: ":rotating_light: auto fix by pre-commit hooks"
autofix_prs: true
autoupdate_branch: master
autoupdate_schedule: monthly
2022-01-16 10:52:12 +08:00
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
2022-01-15 21:27:43 +08:00
repos:
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.3.0
2022-01-15 21:27:43 +08:00
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.1
2022-01-15 21:27:43 +08:00
hooks:
- id: prettier
2022-01-16 10:52:12 +08:00
types_or: [javascript, jsx, ts, tsx, markdown]