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
1 merge request!30CI: Replace Flake8 with Ruff and use Alpine Edge instead of latest stable
Pipeline #185008 passed
......@@ -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
......
  • Administrator @root

    mentioned in commit a90513d0

    By Pablo Correa Gomez on 2024-02-26T18:14:46

    · Imported

    mentioned in commit a90513d0

    By Pablo Correa Gomez on 2024-02-26T18:14:46

    Edited by Ghost User
    Toggle commit list
  • Administrator @root

    mentioned in commit dd060143

    By Pablo Correa Gomez on 2024-02-26T18:18:54

    · Imported

    mentioned in commit dd060143

    By Pablo Correa Gomez on 2024-02-26T18:18:54

    Edited by Ghost User
    Toggle commit list
  • Administrator @root

    mentioned in commit 7b018a88

    By Pablo Correa Gomez on 2024-02-26T18:21:06

    · Imported

    mentioned in commit 7b018a88

    By Pablo Correa Gomez on 2024-02-26T18:21:06

    Edited by Ghost User
    Toggle commit list
  • Administrator @root

    mentioned in commit eaf514f3

    By Pablo Correa Gomez on 2024-02-27T02:33:36

    · Imported

    mentioned in commit eaf514f3

    By Pablo Correa Gomez on 2024-02-27T02:33:36

    Edited by Ghost User
    Toggle commit list
  • Administrator @root

    mentioned in commit 24844752

    By Newbyte on 2024-02-27T09:37:44

    · Imported

    mentioned in commit 24844752

    By Newbyte on 2024-02-27T09:37:44

    Edited by Ghost User
    Toggle commit list
  • Administrator @root

    mentioned in merge request !33 (merged)

    By Newbyte on 2024-02-27T09:38:09

    · Imported

    mentioned in merge request !33 (merged)

    By Newbyte on 2024-02-27T09:38:09

    Edited by Ghost User
    Toggle commit list
  • Administrator @root

    mentioned in commit 55bd1e1b

    By Newbyte on 2024-02-28T23:48:53

    · Imported

    mentioned in commit 55bd1e1b

    By Newbyte on 2024-02-28T23:48:53

    Edited by Ghost User
    Toggle commit list
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