maubot/.pre-commit-config.yaml

21 lines
516 B
YAML
Raw Normal View History

2022-03-25 14:28:16 -04:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2023-02-12 05:45:48 -05:00
rev: v4.4.0
2022-03-25 14:28:16 -04:00
hooks:
- id: trailing-whitespace
exclude_types: [markdown]
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
2023-02-05 16:09:07 -05:00
rev: 23.1.0
2022-03-25 14:28:16 -04:00
hooks:
- id: black
language_version: python3
files: ^maubot/.*\.pyi?$
2022-03-25 14:28:16 -04:00
- repo: https://github.com/PyCQA/isort
2023-02-05 16:09:07 -05:00
rev: 5.12.0
2022-03-25 14:28:16 -04:00
hooks:
- id: isort
2022-05-06 08:40:07 -04:00
files: ^maubot/.*\.pyi?$