From 66b38d6a8e0e0f990f005357fe6a08cad2f8b71c Mon Sep 17 00:00:00 2001 From: Guillaume Favelier Date: Sat, 5 Mar 2022 11:35:15 +0100 Subject: [PATCH 1/3] update --- Makefile | 4 ++-- mypy_checklist.txt | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 mypy_checklist.txt diff --git a/Makefile b/Makefile index 502f0885..7d6a43e4 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ BLACK_DIRS ?= ./pyvistaqt/ ISORT_DIRS ?= ./pyvistaqt/*.py PYCODESTYLE_DIRS ?= ./pyvistaqt/ PYLINT_DIRS ?= ./pyvistaqt/ -MYPY_DIRS ?= ./pyvistaqt/ +MYPY_DIRS= ?= "mypy_checklist.txt" FLAKE8_DIRS ?= ./pyvistaqt/ CODESPELL_DIRS ?= ./ CODESPELL_SKIP ?= "*.json,*.pyc,*.txt,*.gif,*.png,*.jpg,*.ply,*.vtk,*.vti,*.js,*.html,*.doctree,*.ttf,*.woff,*.woff2,*.eot,*.mp4,*.inv,*.pickle,*.ipynb,flycheck*,./.git/*,./.hypothesis/*,*.yml,./docs/_build/*,./docs/images/*,./dist/*,./.ci/*" @@ -36,7 +36,7 @@ pycodestyle: mypy: @echo "Running mypy" - @mypy $(MYPY_DIRS) + @mypy @$(MYPY_DIRS) flake8: @echo "Running flake8" diff --git a/mypy_checklist.txt b/mypy_checklist.txt new file mode 100644 index 00000000..38fe0a7c --- /dev/null +++ b/mypy_checklist.txt @@ -0,0 +1,8 @@ +pyvistaqt/counter.py +pyvistaqt/dialog.py +pyvistaqt/__init__.py +pyvistaqt/_version.py +pyvistaqt/editor.py +pyvistaqt/plotting.py +pyvistaqt/utils.py +pyvistaqt/window.py From 0948f96e30ec856584af0cbae8aae77d0b749761 Mon Sep 17 00:00:00 2001 From: Guillaume Favelier Date: Sat, 5 Mar 2022 11:38:23 +0100 Subject: [PATCH 2/3] fix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d6a43e4..91da904d 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ BLACK_DIRS ?= ./pyvistaqt/ ISORT_DIRS ?= ./pyvistaqt/*.py PYCODESTYLE_DIRS ?= ./pyvistaqt/ PYLINT_DIRS ?= ./pyvistaqt/ -MYPY_DIRS= ?= "mypy_checklist.txt" +MYPY_DIRS ?= "mypy_checklist.txt" FLAKE8_DIRS ?= ./pyvistaqt/ CODESPELL_DIRS ?= ./ CODESPELL_SKIP ?= "*.json,*.pyc,*.txt,*.gif,*.png,*.jpg,*.ply,*.vtk,*.vti,*.js,*.html,*.doctree,*.ttf,*.woff,*.woff2,*.eot,*.mp4,*.inv,*.pickle,*.ipynb,flycheck*,./.git/*,./.hypothesis/*,*.yml,./docs/_build/*,./docs/images/*,./dist/*,./.ci/*" From 9a03485fd9a7984c1386684b96edc6300b05280c Mon Sep 17 00:00:00 2001 From: Guillaume Favelier Date: Sat, 5 Mar 2022 11:40:29 +0100 Subject: [PATCH 3/3] sort --- mypy_checklist.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mypy_checklist.txt b/mypy_checklist.txt index 38fe0a7c..d4be7635 100644 --- a/mypy_checklist.txt +++ b/mypy_checklist.txt @@ -1,7 +1,7 @@ -pyvistaqt/counter.py -pyvistaqt/dialog.py pyvistaqt/__init__.py pyvistaqt/_version.py +pyvistaqt/counter.py +pyvistaqt/dialog.py pyvistaqt/editor.py pyvistaqt/plotting.py pyvistaqt/utils.py