2022-03-25 18:28:16 +00:00
|
|
|
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
|
2022-03-28 19:24:08 +00:00
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 22.3.0
|
2022-03-25 18:28:16 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2022-03-28 19:24:08 +00:00
|
|
|
language_version: python3
|
|
|
|
files: ^maubot/.*\.pyi?$
|
2022-03-25 18:28:16 +00:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
|
|
rev: 5.10.1
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
2022-03-28 19:24:08 +00:00
|
|
|
files: ^maubot/.*\.pyi$
|