diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0e9e574297f6e6a1c35fb16a549c96153cedd297..1e533a6554a330e86c757bc80e65f19e3d960c26 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,29 +27,23 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest - Makefile - pyproject.toml -format: - extends: .code_changes - stage: checks - script: - - black --check duniterpy tests examples - build: extends: .changes stage: checks script: - poetry build -isort: +format: extends: .code_changes stage: checks script: - - isort --check duniterpy tests examples + - black --check duniterpy tests examples -type: +isort: extends: .code_changes stage: checks script: - - mypy duniterpy tests examples --ignore-missing-imports + - isort --check duniterpy tests examples lint: extends: .code_changes @@ -58,6 +52,12 @@ lint: script: - pylint duniterpy tests examples +type: + extends: .code_changes + stage: checks + script: + - mypy duniterpy tests examples --ignore-missing-imports + .tests: extends: .changes stage: tests