Update and unpin black

It's stable now, so there shouldn't be too many changes
This commit is contained in:
Tulir Asokan 2022-03-28 22:24:08 +03:00
parent ca7c4df349
commit 1b298c0dbb
4 changed files with 6 additions and 11 deletions

View file

@ -7,17 +7,14 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
# TODO convert to use the upstream psf/black when
# https://github.com/psf/black/issues/2493 gets fixed
- repo: local
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
name: black
entry: black --check
language: system
files: ^maubot/.*\.py$
language_version: python3
files: ^maubot/.*\.pyi?$
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
files: ^maubot/.*$
files: ^maubot/.*\.pyi$