From 45bbf639ac180af3270edeac97901aa5382f0939 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 8 Dec 2022 19:54:07 +0100 Subject: add mypy to GitLab CI --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb3c9ef..ad31937 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,3 +35,7 @@ lint: lint-tests: script: - tox -e pylint-tests + +mypy: + script: + - tox -e mypy -- cgit v1.2.3 From 91208d21156472d15e9c40e2e9a697b11c6af11d Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 8 Dec 2022 21:58:05 +0100 Subject: run black in CI --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad31937..eb52552 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,7 @@ test-pypy: lint: script: - - tox -e pylint,flake8 + - tox -e pylint,flake8,black lint-tests: script: -- cgit v1.2.3 From 36e28240e810e162ebb46bede1e6eab4f5fe4a3a Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 8 Dec 2022 22:32:13 +0100 Subject: pin tox to old version There seems to be an issue with the latest one. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb52552..e500b7a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ cache: before_script: - python --version # For debugging - - pip install tox + - pip install 'tox<4' test: script: -- cgit v1.2.3