Skip to content
Snippets Groups Projects
Commit 868f6ba4 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

[pre-commit] fix pre-commit complaints

parent f56f7141
No related branches found
No related tags found
No related merge requests found
Pipeline #49182 passed
......@@ -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: v2.0.0
rev: v3.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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment