yunohost/.gitlab/ci/lint.gitlab-ci.yml
2024-08-08 16:20:33 +02:00

41 lines
851 B
YAML

########################################
# LINTER
########################################
# later we must fix lint and format-check jobs and remove "allow_failure"
actionsmap:
stage: lint
image: "build-and-lint"
needs: []
script:
- python3 -c 'import yaml; yaml.safe_load(open("share/actionsmap.yml"))'
- python3 -c 'import yaml; yaml.safe_load(open("share/actionsmap-portal.yml"))'
lint311:
stage: lint
image: "build-and-lint"
needs: []
allow_failure: true
script:
- tox -e py311-lint
invalidcode311:
stage: lint
image: "build-and-lint"
needs: []
script:
- tox -e py311-invalidcode
mypy:
stage: lint
image: "build-and-lint"
needs: []
script:
- tox -e py311-mypy
i18n-keys:
stage: lint
image: "build-and-lint"
needs: []
script:
- python3 maintenance/missing_i18n_keys.py --check