🍽 Fork YunoHost — snapshot mangé par la machine à tsoins
Upstream: https://github.com/YunoHost/yunohost @ 3a5f8bac8301c450897b96cbd43a4c7d3ba750fb But (José) : transformer tout le code en bions + ploxions du xerboxion. La carte de digestion vit au labo : /yunohost-digest.json
This commit is contained in:
41
.gitlab/ci/lint.gitlab-ci.yml
Normal file
41
.gitlab/ci/lint.gitlab-ci.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
########################################
|
||||
# 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
|
||||
Reference in New Issue
Block a user