Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix isort and black line length #350

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/checks/style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PATH=/conda/bin:$PATH
source activate gdf

# Run isort and get results/return code
ISORT=`isort --recursive --check-only .`
ISORT=`isort --check-only .`
ISORT_RETVAL=$?

# Run black and get results/return code
Expand Down
6 changes: 1 addition & 5 deletions dask_cuda/explicit_comms/comms.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@

import distributed.comm
from distributed import default_client, get_worker
from distributed.comm.addressing import (
parse_address,
parse_host_port,
unparse_address,
)
from distributed.comm.addressing import parse_address, parse_host_port, unparse_address

from . import utils

Expand Down
6 changes: 1 addition & 5 deletions dask_cuda/tests/test_device_host_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
from dask import array as da
from distributed.protocol import deserialize_bytes, serialize_bytelist

from dask_cuda.device_host_file import (
DeviceHostFile,
device_to_host,
host_to_device,
)
from dask_cuda.device_host_file import DeviceHostFile, device_to_host, host_to_device

cupy = pytest.importorskip("cupy")

Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ parentdir_prefix = dask_cuda-

[flake8]
exclude = docs, __init__.py, versioneer.py
max-line-length = 88
max_line_length = 88
ignore =
# Assigning lambda expression
E731
Expand All @@ -22,7 +22,7 @@ ignore =
E231

[isort]
line_length=79
line_length=88
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
Expand Down