Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

:hocho: [pre-commit.ci] pre-commit suggestions (#1328)

pre-commit-ci[bot]b8bccc8d6e8f
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 5582cc5c6..285d97747 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -42,7 +42,7 @@ repos:
- id: flake8
- repo: https://github.com/asottile/pyupgrade
- rev: v2.26.0
+ rev: v2.28.0
hooks:
- id: pyupgrade
args: [--py36-plus]
diff --git a/setup.py b/setup.py
index 0651140c4..9027eb1b0 100644
--- a/setup.py
+++ b/setup.py
@@ -107,7 +107,7 @@ class clean(distutils.command.clean.clean):
shutil.rmtree(filename, ignore_errors=True)
# It's an old-style class in Python 2.7...
- distutils.command.clean.clean.run(self)
+ super().run()
# remove compiled and temporary files
subprocess.call(['rm -rf dist/ build/ kornia.egg*'], shell=True)