Skip to content
Snippets Groups Projects
Unverified Commit b09df9bd authored by Newbyte's avatar Newbyte :snowflake:
Browse files

CI: replace Flake8 with Ruff (MR 30)

parent a5d757e6
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,11 @@
if [ "$(id -u)" = 0 ]; then
set -x
apk -q add py3-flake8
apk -q add ruff
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
set -x
# shellcheck disable=SC2046
flake8 $(find .ci -name '*.py')
ruff check $(find .ci -name '*.py')
---
image: alpine:edge
flake8:
ruff:
before_script:
- echo 'https://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories
- adduser -D build
script:
- .ci/flake8.sh
- .ci/ruff.sh
mypy:
before_script:
- adduser -D build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment