Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RET=$(($RET + $?)) ; echo $MSG "DONE"

MSG='Checking isort... ' ; echo $MSG
isort --version-number
isort --profile=black --check-only .
isort --check-only .
RET=$(($RET + $?)) ; echo $MSG "DONE"

MSG='Checking mypy... ' ; echo $MSG
Expand Down
2 changes: 1 addition & 1 deletion ci/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
black --check .

echo "[isort]"
isort --profile=black --check-only .
isort --check-only .

echo "[codecov]"
codecov
Expand Down
2 changes: 1 addition & 1 deletion docs/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ installed.

black .
flake8
isort --profile=black dask_ml tests
isort .

You may wish to setup a
`pre-commit hook <https://black.readthedocs.io/en/stable/version_control_integration.html>`_
Expand Down
2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ force_grid_wrap=0
combine_as_imports=True
line_length=88
profile=black
skip=
Copy link
Contributor Author

@hristog hristog Mar 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the new profile=black option, skipping docs/source/conf.py is no longer necessary.

docs/source/conf.py

[coverage:run]
source=dask_ml
Expand Down