Fix black in CI
@@ -18,7 +18,7 @@ repos:
args:
- --py38-plus
- repo: https://github.com/psf/black
- rev: 22.1.0
+ rev: 22.3.0
hooks:
- id: black
language_version: python3
@@ -26,14 +26,19 @@ repos:
args:
- --target-version=py38
- repo: https://gitlab.com/pycqa/flake8
- rev: 3.9.2
+ rev: 4.0.1
hooks:
- id: flake8
language_version: python3
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v0.931
+ rev: v0.942
hooks:
- id: mypy
+ args:
+ - --ignore-missing-imports
+ # Silence errors about Python 3.9-style delayed type annotations on Python 3.8
+ - --python-version
+ - "3.9"
additional_dependencies:
# Type stubs
- types-docutils
