π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
update flake8 to 5.0.4 and fixes (#1818)
Edgar Riba16a343cd6733
diff --git a/.github/workflows/tests_cpu.yml b/.github/workflows/tests_cpu.ymlindex 43ee253d7..119f3cce1 100644--- a/.github/workflows/tests_cpu.yml+++ b/.github/workflows/tests_cpu.yml@@ -33,7 +33,7 @@ jobs:pip install .[all]- name: Run Testsshell: bash -l {0}- run: pytest -v --device cpu --dtype float32,float64 --cov=kornia --cov-report xml ./test --flake8 --mypy+ run: pytest -v --device cpu --dtype float32,float64 --cov=kornia --cov-report xml ./test --mypy- name: Upload coverageuses: codecov/codecov-action@v1with:diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 2111aac7d..db3422c60 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -37,7 +37,7 @@ repos:- id: isort- repo: https://github.com/PyCQA/flake8- rev: 4.0.1+ rev: 5.0.4hooks:- id: flake8diff --git a/Makefile b/Makefileindex 6cc611f18..80b46f88a 100644--- a/Makefile+++ b/Makefile@@ -30,7 +30,7 @@ test-slow: FORCEpytest -v --device all --dtype all -m "(jit or grad or nn)"lint: FORCE- pytest -v --cache-clear --flake8 kornia/ examples/ test/ -m flake8+ flake8 -v kornia/ test/ examples/mypy: FORCEpytest -v --cache-clear --mypy kornia/ -m mypydiff --git a/requirements/dev.txt b/requirements/dev.txtindex 96a526f50..204ce2f2c 100644--- a/requirements/dev.txt+++ b/requirements/dev.txt@@ -1,6 +1,5 @@pytest==7.1.2-pytest-flake8==1.1.1-flake8==4.0.1+flake8==5.0.4pytest-cov==3.0.0pytest-mypy==0.9.1pydocstyle