Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

update pre-commit hooks and fix flake8 config (#2040)

João Gustavo A. Amorim71ff4d4b59ad
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d5407d243..c14a67d15 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -5,7 +5,7 @@ ci:
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.3.0
+ rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
@@ -40,7 +40,7 @@ repos:
- id: isort
- repo: https://github.com/PyCQA/flake8
- rev: 5.0.4
+ rev: 6.0.0
hooks:
- id: flake8
diff --git a/setup.cfg b/setup.cfg
index ea20f832b..72a7263cb 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -111,8 +111,8 @@ per-file-ignores =
__init__.py: F401, F403
verbose = 2
ignore =
- W503 # Ignore "Line break occurred before a binary operator"
- E203 # Ignore "whitespace before ':'"
+ W503
+ E203
[mypy]
files = kornia/