The image is for running pylint, pylint is installed in /app/ in case you need to customize the install before usage. The plugin pylint-gitlab is installed for easy gitlab reporting features
pylint:
  stage: linting
  image: registry.gitlab.com/pipeline-components/pylint:latest
  script:
    - pylint **/*.py
Example with pylint-gitlab
pylint:
  stage: linting
  image: registry.gitlab.com/pipeline-components/pylint:latest
  script:
    - pylint --exit-zero --load-plugins=pylint_gitlab --output-format=gitlab-codeclimate:codeclimate.json **/*.py
  artifacts:
    reports:
      codequality: codeclimate.json
    when: always