Page MenuHomePhabricator

wdqs-backend-init: python linting
Closed, ResolvedPublic3 Estimated Story Points

Description

The backend init script should be automatically linted via flake8, mypy, isort and black in the Gitlab pipeline.

AC:

  • The CI/CD pipeline verifies the Python code via flake8, mypy, isort and black
  • OPTIONAL: Most of the pipeline code is generalized in a Gilab CI/CD component

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Lint python code with flake8, mypy, isort and blackrepos/wikidata-platform/wdqs/wdqs-backend-init!2trueglintingmain
Customize query in GitLab

Event Timeline

trueg changed the task status from Open to In Progress.Mon, May 18, 3:20 PM
trueg claimed this task.
trueg triaged this task as High priority.
trueg set the point value for this task to 3.
trueg updated the task description. (Show Details)

Python3 linting is now provided via a dedicated Gitlab CI/CD component: https://gitlab.wikimedia.org/repos/wikidata-platform/wmf-python-ci/-/releases
This is used in wdqs-backend-init's pipeline