Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pipelines
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
bob
bob.pipelines
Commits
868f6ba4
Commit
868f6ba4
authored
4 years ago
by
Amir MOHAMMADI
Browse files
Options
Downloads
Patches
Plain Diff
[pre-commit] fix pre-commit complaints
parent
f56f7141
No related branches found
No related tags found
No related merge requests found
Pipeline
#49182
passed
4 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pre-commit-config.yaml
+8
-5
8 additions, 5 deletions
.pre-commit-config.yaml
bob/pipelines/tests/test_wrappers.py
+2
-1
2 additions, 1 deletion
bob/pipelines/tests/test_wrappers.py
with
10 additions
and
6 deletions
.pre-commit-config.yaml
+
8
−
5
View file @
868f6ba4
...
...
@@ -2,16 +2,20 @@
# See https://pre-commit.com/hooks.html for more hooks
repos
:
-
repo
:
https://github.com/timothycrosley/isort
rev
:
4.3.21-2
rev
:
5.8.0
hooks
:
-
id
:
isort
args
:
[
-sl
]
args
:
[
-
-
sl
,
--line-length
,
"
88"
]
-
repo
:
https://github.com/psf/black
rev
:
stable
rev
:
20.8b1
hooks
:
-
id
:
black
-
repo
:
https://gitlab.com/pycqa/flake8
rev
:
3.9.0
hooks
:
-
id
:
flake8
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v
2.0
.0
rev
:
v
3.4
.0
hooks
:
-
id
:
check-ast
-
id
:
check-case-conflict
...
...
@@ -19,7 +23,6 @@ repos:
-
id
:
end-of-file-fixer
-
id
:
debug-statements
-
id
:
check-added-large-files
-
id
:
flake8
-
repo
:
local
hooks
:
-
id
:
sphinx-build
...
...
This diff is collapsed.
Click to expand it.
bob/pipelines/tests/test_wrappers.py
+
2
−
1
View file @
868f6ba4
...
...
@@ -325,7 +325,8 @@ def test_checkpoint_fit_transform_pipeline():
def
_get_local_client
():
from
dask.distributed
import
Client
,
LocalCluster
from
dask.distributed
import
Client
from
dask.distributed
import
LocalCluster
cluster
=
LocalCluster
(
nanny
=
False
,
processes
=
False
,
n_workers
=
1
,
threads_per_worker
=
1
...
...
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