diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d93d13d43581d91176a4b3c13f1027c09ad25b02..68bc685861a0c6cbabc44824202f67c3d21c9739 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -80,6 +80,22 @@ mypy: script: - pre-commit run -a mypy +pre-commit:hooks: + extends: + - .code_changes + - .pre-commit + stage: checks + script: + - pre-commit run -a check-ast + - pre-commit run -a check-merge-conflict + - pre-commit run -a check-toml + - pre-commit run -a debug-statements + - pre-commit run -a end-of-file-fixer + - pre-commit run -a mixed-line-ending + - pre-commit run -a trailing-whitespace + - pre-commit run -a insert-license + - pre-commit run -a mdformat + .tests: extends: .changes stage: tests