Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor 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
calibration
pycalibration
Commits
5c4a370b
Commit
5c4a370b
authored
3 years ago
by
Thomas Kluyver
Browse files
Options
Downloads
Patches
Plain Diff
Restore flake8 check with ... diff
parent
646631e7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!508
Try to make pre-commit pass
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.pre-commit-config.yaml
+8
-0
8 additions, 0 deletions
.pre-commit-config.yaml
with
8 additions
and
0 deletions
.pre-commit-config.yaml
+
8
−
0
View file @
5c4a370b
...
...
@@ -10,6 +10,14 @@ repos:
rev
:
5.7.0
hooks
:
-
id
:
isort
-
repo
:
https://gitlab.com/pycqa/flake8
rev
:
3.9.0
hooks
:
-
id
:
flake8
# If `CI_MERGE_REQUEST_TARGET_BRANCH_SHA` env var is set then this will
# run flake8 on the diff of the merge request, otherwise it will run
# flake8 as it would usually execute via the pre-commit hook
entry
:
bash -c 'if [ -z ${CI_MERGE_REQUEST_TARGET_BRANCH_SHA} ]; then (flake8 "$@"); else (git diff $CI_MERGE_REQUEST_TARGET_BRANCH_SHA...$CI_MERGE_REQUEST_SOURCE_BRANCH_SHA | flake8 --diff); fi' --
-
repo
:
https://github.com/myint/rstcheck
rev
:
3f92957478422df87bd730abde66f089cc1ee19b
# commit where pre-commit support was added
hooks
:
...
...
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