This should hopefully reduce the mental load on MR reviewers going forwards.
needs:
- docker_build_ubuntu-21.10
+lint_cmake_format:
+ image: "$CI_REGISTRY_IMAGE/ubuntu-21.10:$CI_COMMIT_SHA"
+ stage: test
+ needs:
+ - docker_build_ubuntu-21.10
+ script:
+ - git ls-files -z -- '**/CMakeLists.txt' '**/*.cmake' '**/*.cmake.in' | xargs -0 -- python3 -m cmakelang.lint
+ except:
+ - tags
+
lint_pylint:
image: "$CI_REGISTRY_IMAGE/ubuntu-21.10:$CI_COMMIT_SHA"
stage: test
+cmakelang==0.6.13
pylint==2.11.1
pytest==6.2.4