Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
cf0079df
Commit
cf0079df
authored
2 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
Replace flake8 pre-commit hook with autoflake (
#450
)
update gitlab-ci
parent
f33c2b59
No related branches found
No related tags found
1 merge request
!222
Replace flake8 pre-commit hook with autoflake (#450)
Pipeline
#17557
passed
2 years ago
Stage: checks
Stage: tests
Stage: package
Stage: coverage
Stage: deploy
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
.pre-commit-config.yaml
+11
-4
11 additions, 4 deletions
.pre-commit-config.yaml
with
13 additions
and
6 deletions
.gitlab-ci.yml
+
2
−
2
View file @
cf0079df
...
...
@@ -38,13 +38,13 @@ build:
paths
:
-
${PRE_COMMIT_HOME}
flake
8
:
auto
flake
:
extends
:
-
.code_changes
-
.pre-commit
stage
:
checks
script
:
-
pre-commit run -a flake
8
-
pre-commit run -a
auto
flake
format
:
extends
:
...
...
This diff is collapsed.
Click to expand it.
.pre-commit-config.yaml
+
11
−
4
View file @
cf0079df
...
...
@@ -51,7 +51,14 @@ repos:
rev
:
0.7.16
hooks
:
-
id
:
mdformat
-
repo
:
https://github.com/PyCQA/flake8
rev
:
5.0.4
hooks
:
-
id
:
flake8
-
repo
:
https://github.com/PyCQA/autoflake
rev
:
v1.7.7
hooks
:
-
id
:
autoflake
args
:
-
--recursive
-
--expand-star-imports
-
--remove-all-unused-imports
-
--remove-duplicate-keys
-
--remove-unused-variables
-
--in-place
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