Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
deepdraw
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
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
medai
software
deepdraw
Commits
09babac0
Commit
09babac0
authored
3 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[pre-commit] improve checking; slightly modify check order
parent
7570e410
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!30
Adds pre-commit support
Pipeline
#52898
failed
3 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.flake8
+1
-0
1 addition, 0 deletions
.flake8
.pre-commit-config.yaml
+14
-14
14 additions, 14 deletions
.pre-commit-config.yaml
with
15 additions
and
14 deletions
.flake8
+
1
−
0
View file @
09babac0
[flake8]
max-line-length = 88
select = B,C,E,F,W,T4,B9,B950
ignore = E501, W503, E203, E741
This diff is collapsed.
Click to expand it.
.pre-commit-config.yaml
+
14
−
14
View file @
09babac0
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos
:
-
repo
:
https://github.com/timothycrosley/isort
rev
:
5.9.3
hooks
:
-
id
:
isort
args
:
[
--sl
,
--line-length
,
"
88"
]
-
repo
:
https://github.com/psf/black
rev
:
21.7b0
hooks
:
-
id
:
black
-
repo
:
https://gitlab.com/pycqa/flake8
rev
:
3.9.2
hooks
:
-
id
:
flake8
exclude
:
bob/ip/binseg/configs|doc/conf.py
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v4.0.1
hooks
:
...
...
@@ -12,17 +26,3 @@ repos:
-
id
:
check-added-large-files
-
id
:
check-yaml
exclude
:
.*/meta.yaml
-
repo
:
https://github.com/psf/black
rev
:
21.7b0
hooks
:
-
id
:
black
-
repo
:
https://github.com/timothycrosley/isort
rev
:
5.9.3
hooks
:
-
id
:
isort
args
:
[
--sl
,
--line-length
,
"
88"
]
-
repo
:
https://gitlab.com/pycqa/flake8
rev
:
3.9.2
hooks
:
-
id
:
flake8
exclude
:
bob/ip/binseg/configs|doc/conf.py
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