Skip to content
Snippets Groups Projects
Commit 9e1b9668 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

ci: switch from flake8 to pyproject-flake8

parent cfde7726
No related branches found
No related tags found
1 merge request!61Add pre-commit hooks
......@@ -42,8 +42,8 @@ Check style:
variables:
STYLE_PATCH: ${CI_PROJECT_DIR}/style.patch
before_script:
- apk add black clang-extra-tools git py3-flake8 py3-isort py3-pip python3
- python -m pip install --root-user-action=ignore --break-system-packages cmake-format fprettify
- apk add black clang-extra-tools git py3-isort py3-pip python3
- python -m pip install --root-user-action=ignore --break-system-packages cmake-format fprettify pyproject-flake8
script:
# Exclude the automatically generated mtime_iso8601.c:
- c_cxx_files=$(find "${CI_PROJECT_DIR}" -name 'mtime_iso8601.c' -prune -o \( -name '*.h' -o -name '*.c' \) -print)
......
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