diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c576bee27248e7df3eb646f1736911995aa301ac..d93d13d43581d91176a4b3c13f1027c09ad25b02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,13 +40,13 @@ build: paths: - ${PRE_COMMIT_HOME} -format: +black: extends: - .code_changes - .pre-commit stage: checks script: - - pre-commit run --all-files black + - pre-commit run -a black isort: extends: @@ -54,7 +54,7 @@ isort: - .pre-commit stage: checks script: - - pre-commit run --all-files isort + - pre-commit run -a isort lint: extends: @@ -62,7 +62,7 @@ lint: - .pre-commit stage: checks script: - - pre-commit run --all-files pylint + - pre-commit run -a pylint pyupgrade: extends: @@ -70,15 +70,15 @@ pyupgrade: - .pre-commit stage: checks script: - - pre-commit run --all-files pyupgrade + - pre-commit run -a pyupgrade -type: +mypy: extends: - .code_changes - .pre-commit stage: checks script: - - pre-commit run --all-files mypy + - pre-commit run -a mypy .tests: extends: .changes