aiogram/.pre-commit-config.yaml

27 lines
677 B
YAML
Raw Normal View History

2020-05-06 13:00:06 +03:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
2020-05-06 13:00:06 +03:00
hooks:
- id: "trailing-whitespace"
- id: "check-case-conflict"
- id: "check-merge-conflict"
- id: "debug-statements"
- id: "end-of-file-fixer"
- id: "mixed-line-ending"
- id: "detect-private-key"
- id: "check-yaml"
- id: "check-toml"
- id: "check-json"
2020-05-06 13:00:06 +03:00
- repo: https://github.com/psf/black
2022-10-10 13:30:06 +03:00
rev: 22.10.0
2020-05-06 13:00:06 +03:00
hooks:
- id: black
files: &files '^(aiogram|tests|examples)'
2020-05-06 13:00:06 +03:00
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.215'
2020-05-06 13:00:06 +03:00
hooks:
- id: ruff
args: [ "--force-exclude" ]