pre-commit: update Black and mypy

Black 22.3.0 fixes psf/black#2964, which was breaking the CI with:

  ImportError: cannot import name '_unicodefun' from 'click'

mypy v0.942 doesn't complain about anything new.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
Omar Sandoval 2022-03-31 16:28:40 -07:00
parent cb69aec85a
commit fbfe7f45ad

View File

@ -5,11 +5,11 @@ repos:
- id: isort
name: isort (python)
- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
rev: v0.942
hooks:
- id: mypy
args: [--strict, --no-warn-return-any, --no-warn-unused-ignores]