run lint and fix errors, except mypy

This commit is contained in:
pacrob
2024-02-19 15:56:20 -07:00
parent 42605c0288
commit 94483714a3
171 changed files with 4809 additions and 2290 deletions

View File

@ -13,11 +13,11 @@ repos:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/psf/black
rev: 19.3b0
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 3.7.9
rev: 6.1.0
hooks:
- id: flake8
additional_dependencies:
@ -28,7 +28,7 @@ repos:
hooks:
- id: autoflake
- repo: https://github.com/pycqa/isort
rev: 4.3.21
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/pycqa/pydocstyle
@ -43,10 +43,10 @@ repos:
- id: mdformat
additional_dependencies:
- mdformat-gfm
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.780
hooks:
- id: mypy
additional_dependencies:
- mypy-protobuf
exclude: tests/
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v1.5.1
# hooks:
# - id: mypy
# additional_dependencies:
# - mypy-protobuf
# exclude: 'tests/|tests_interop/|crypto/|identity/|pubsub/|insecure/|noise/|security/'