Skip to content
Snippets Groups Projects
Unverified Commit 3538f991 authored by Oliver Smith's avatar Oliver Smith
Browse files

CI: add flake8 check

Let's get meta: make sure that the common-ci scripts are linted with
flake8 as well.
parent 78575fd3
No related branches found
No related tags found
No related merge requests found
Pipeline #144433 passed
#!/bin/sh -e
topdir="$(realpath "$(dirname "$0")/..")"
cd "$topdir"
flake8 $(find -name '*.py')
echo "flake8 check passed"
---
flake8:
image: "alpine:latest"
before_script:
- "apk -q add py3-pip"
- "pip3 -q --disable-pip-version-check install flake8"
script:
- ".ci/flake8.sh"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment