From 04fe99af8e84a5a005cfc438a94b204de16b5571 Mon Sep 17 00:00:00 2001 From: matejcik Date: Tue, 28 Jan 2020 16:32:08 +0100 Subject: [PATCH] ci: turn mypy check into a part of style-check --- Makefile | 4 ++++ ci/test.yml | 10 ---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 798015226..dd06771e4 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,8 @@ pystyle_check: ## run code style check on application sources and tests flake8 --version isort --version | awk '/VERSION/{print $$2}' black --version + @echo [MYPY] + @make -C core mypy @echo [FLAKE8] @flake8 $(PY_FILES) @echo [ISORT] @@ -30,6 +32,8 @@ pystyle: ## apply code style on application sources and tests @isort $(PY_FILES) @echo [BLACK] @black $(PY_FILES) + @echo [MYPY] + @make -C core mypy @echo [FLAKE8] @flake8 $(PY_FILES) make -C python style diff --git a/ci/test.yml b/ci/test.yml index baab4f8b5..5b67fc818 100644 --- a/ci/test.yml +++ b/ci/test.yml @@ -225,16 +225,6 @@ core unix persistence test: expire_in: 1 week when: always -core mypy test: - stage: test - <<: *only_changes_core - dependencies: [] # no artifacts needed - script: - - cd core - - pipenv run mypy --version - - pipenv run make res # needed for clean mypy - - pipenv run make mypy - # Crypto