maubot/.pre-commit-config.yaml
Tulir Asokan 1b298c0dbb Update and unpin black
It's stable now, so there shouldn't be too many changes
2022-03-28 22:24:08 +03:00

21 lines
515 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
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
rev: 22.3.0
hooks:
- id: black
language_version: python3
files: ^maubot/.*\.pyi?$
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
files: ^maubot/.*\.pyi$