🐍 Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Remove `mypy` from running on tests (#1983)
João Gustavo A. Amorim0d434859f02b
diff --git a/.github/workflows/test_typing.yml b/.github/workflows/test_typing.ymlindex 1ac2eab09..43277b698 100644--- a/.github/workflows/test_typing.yml+++ b/.github/workflows/test_typing.yml@@ -36,7 +36,7 @@ jobs:pip install .[dev,x]- name: Run Testsshell: bash -l {0}- run: pytest -v --cov=kornia --cov-report xml --mypy kornia/ -m mypy+ run: pytest -v --cov=kornia --cov-report xml --mypy kornia/- name: Upload coverageuses: codecov/codecov-action@v1with:diff --git a/.github/workflows/tests_cpu.yml b/.github/workflows/tests_cpu.ymlindex 882ab336e..20ae6b4bb 100644--- a/.github/workflows/tests_cpu.yml+++ b/.github/workflows/tests_cpu.yml@@ -37,7 +37,7 @@ jobs:pip install .[dev,x]- name: Run Testsshell: bash -l {0}- run: pytest -v --device cpu --dtype float32,float64 --cov=kornia --cov-report xml ./test --mypy+ run: pytest -v --device cpu --dtype float32,float64 --cov=kornia --cov-report xml ./test- name: Upload coverageuses: codecov/codecov-action@v1with:diff --git a/.github/workflows/tests_lts.yml b/.github/workflows/tests_lts.ymlindex 3627aafe4..62732af1c 100644--- a/.github/workflows/tests_lts.yml+++ b/.github/workflows/tests_lts.yml@@ -36,7 +36,7 @@ jobs:pip install .[dev,x]- name: Run Testsshell: bash -l {0}- run: pytest -v --device cpu --dtype float32,float64 --cov=kornia --cov-report xml ./test --mypy+ run: pytest -v --device cpu --dtype float32,float64 --cov=kornia --cov-report xml ./test- name: Upload coverageuses: codecov/codecov-action@v1with:diff --git a/.github/workflows/tests_nightly.yml b/.github/workflows/tests_nightly.ymlindex 5dcea9c45..95c3651ac 100644--- a/.github/workflows/tests_nightly.yml+++ b/.github/workflows/tests_nightly.yml@@ -31,4 +31,4 @@ jobs:pip install .[dev,x]- name: Run Testsshell: bash -l {0}- run: pytest -v --device cpu --dtype float32,float64 ./test --flake8 --mypy+ run: pytest -v --device cpu --dtype float32,float64 ./testdiff --git a/Makefile b/Makefileindex 0a264e321..9be38a65e 100644--- a/Makefile+++ b/Makefile@@ -6,16 +6,16 @@ test-all: FORCEpytest -v --device all --dtype float32,float64 --cov=kornia test/ --flake8 --mypytest-cpu: FORCE- pytest -v --device cpu --dtype all --cov=kornia test/ --flake8 --mypy+ pytest -v --device cpu --dtype all --cov=kornia test/test-cuda: FORCE- pytest -v --device cuda --dtype all --cov=kornia test/ --flake8 --mypy+ pytest -v --device cuda --dtype all --cov=kornia test/test-mps: FORCEpytest -v --device mps --dtype float32 -k "not (grad or exception or jit)" test/test-module: FORCE- pytest -v --device all --dtype all test/$(module) --flake8 --mypy+ pytest -v --device all --dtype all test/$(module)test-jit: FORCEpytest -v --device all --dtype all -m jitdiff --git a/setup.cfg b/setup.cfgindex 5583c007e..a0ea40642 100644--- a/setup.cfg+++ b/setup.cfg@@ -116,7 +116,7 @@ ignore =E203 # Ignore "whitespace before ':'"[mypy]-files = kornia, test+files = kornia/pretty = Trueshow_error_codes = Trueignore_missing_imports = True