Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libmtime
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
icon-libraries
libmtime
Commits
9e1b9668
Commit
9e1b9668
authored
3 months ago
by
Sergey Kosukhin
Browse files
Options
Downloads
Patches
Plain Diff
ci: switch from flake8 to pyproject-flake8
parent
cfde7726
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!61
Add pre-commit hooks
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
9e1b9668
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment