matrix_chatgpt_bot/.pre-commit-config.yaml

17 lines
406 B
YAML
Raw Normal View History

2023-09-13 06:36:35 +00:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2023-12-12 08:35:25 +00:00
rev: v4.5.0
2023-09-13 06:36:35 +00:00
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- repo: https://github.com/psf/black
2023-12-12 08:35:25 +00:00
rev: 23.12.0
2023-09-13 06:36:35 +00:00
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
2023-12-12 08:35:25 +00:00
rev: v0.1.7
2023-09-13 06:36:35 +00:00
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]