Skip to content

Commit b6ee49c

Browse files
committed
Replace isort with ruff's built-in import sorting
1 parent 53e909c commit b6ee49c

3 files changed

Lines changed: 4 additions & 23 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
- name: Run ruff
2929
run: uv run ruff check temba_client
3030

31-
- name: Run isort
32-
run: uv run isort temba_client
33-
3431
- name: Run tests
3532
run: uv run nose2 -C --coverage temba_client --coverage-report term --coverage-report xml
3633

pyproject.toml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Repository = "http://github.com/rapidpro/rapidpro-python"
2525
dev = [
2626
"coverage>=5.3,<6",
2727
"ruff>=0.15.7,<0.16",
28-
"isort>=5.10.1,<6",
2928
"nose2>=0.12.0,<0.13",
3029
]
3130

@@ -44,13 +43,9 @@ line-length = 120
4443
fix = true
4544

4645
[tool.ruff.lint]
47-
select = ["E", "F", "W"]
46+
select = ["E", "F", "W", "I"]
4847
ignore = ["E501", "F405"]
4948

50-
[tool.isort]
51-
multi_line_output = 3
52-
force_grid_wrap = 0
53-
line_length = 120
54-
include_trailing_comma = true
55-
combine_as_imports = true
56-
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
49+
[tool.ruff.lint.isort]
50+
combine-as-imports = true
51+
known-first-party = ["temba_client"]

uv.lock

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)