Commit 6bb44a2f authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Remove Pylint from CI

parent fade28b2
Loading
Loading
Loading
Loading
+0 −42
Original line number Diff line number Diff line
@@ -127,45 +127,3 @@ code-analysis:
      --hook-stage=push
      --from-ref=FROM_REF
      --to-ref=${CI_COMMIT_SHA}

# Lint

.lint:
  image: docker.kodo.org.uk/ci-images/pylint-reporter/ref/develop:38
  variables:
    PYLINTRC: setup.cfg

lint:
  stage: test
  extends: .lint
  script:
    - pip install --upgrade anyio mocket[speedup]
    - pylint --exit-zero --load-plugins=pylint_reporter.reporter
      wpa_supplicant tests
  artifacts:
    when: always
    paths:
      - lint.json

lint:accept:
  stage: acceptance
  extends: .lint
  when: always
  needs: [lint]
  script: pylint-reporter score lint.json --minimum 8.0

publish:lint:
  stage: publish
  extends: .lint
  when: always
  dependencies: [lint]
  needs: [lint]
  script:
    - mkdir -p lint
    - pip install --upgrade pylint-json2html
    - pylint-json2html lint.json -f jsonextended -o lint/index.html
    - pylint-reporter badge lint.json lint/lint.svg
  artifacts:
    when: always
    paths:
      - lint