Skip to content

Commit 5ec075d

Browse files
authored
FIX-modin-project#6944: Apply 'isort' formatting for scripts from tutorials (modin-project#6945)
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
1 parent aeb7d0a commit 5ec075d

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

.github/workflows/ci-required.yml

+12
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,15 @@ jobs:
105105
- run: python scripts/doc_checker.py modin/experimental/core/execution/native/implementations/hdk_on_native/interchange/dataframe_protocol
106106
- run: python scripts/doc_checker.py modin/experimental/batch/pipeline.py
107107
- run: python scripts/doc_checker.py modin/logging
108+
109+
lint-black-isort:
110+
name: lint (black and isort)
111+
runs-on: ubuntu-latest
112+
steps:
113+
- uses: actions/checkout@v3
114+
- uses: ./.github/actions/python-only
115+
- run: pip install black>=24.1.0 isort>=5.12
116+
# NOTE: keep the black command here in sync with the pre-commit hook in
117+
# /contributing/pre-commit
118+
- run: black --check --diff modin/ asv_bench/benchmarks scripts/doc_checker.py
119+
- run: isort . --check-only

.github/workflows/ci.yml

-12
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,6 @@ env:
2626
MODIN_GITHUB_CI: true
2727

2828
jobs:
29-
lint-black-isort:
30-
name: lint (black and isort)
31-
runs-on: ubuntu-latest
32-
steps:
33-
- uses: actions/checkout@v3
34-
- uses: ./.github/actions/python-only
35-
- run: pip install black>=24.1.0 isort>=5.12
36-
# NOTE: keep the black command here in sync with the pre-commit hook in
37-
# /contributing/pre-commit
38-
- run: black --check --diff modin/ asv_bench/benchmarks scripts/doc_checker.py
39-
- run: isort . --check-only
40-
4129
lint-mypy:
4230
name: lint (mypy)
4331
runs-on: ubuntu-latest

examples/tutorial/jupyter/execution/pandas_on_ray/cluster/exercise_5.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import time
2+
23
import ray
34

45
import modin.pandas as pd

0 commit comments

Comments
 (0)