Skip to content

Commit dfcd719

Browse files
committed
remove isort
1 parent ba4fa02 commit dfcd719

4 files changed

Lines changed: 848 additions & 847 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,12 @@ jobs:
5050
- name: Auto-format code
5151
run: |
5252
uv run black src/ tests/
53-
uv run isort src/ tests/
5453
uv run ruff check --fix src/ tests/
5554
5655
# Check Phase (sollte nach Fixes bestehen)
5756
- name: Verify code formatting
5857
run: uv run black --check src/ tests/
5958

60-
- name: Verify import sorting
61-
run: uv run isort --check-only src/ tests/
62-
6359
- name: Lint with Ruff
6460
run: uv run ruff check src/ tests/
6561

Makefile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
PYTEST := uv run pytest
55
BLACK := uv run black
66
RUFF := uv run ruff
7-
ISORT := uv run isort
87
MYPY := uv run mypy
98
SPHINX := uv run sphinx-build
109

@@ -30,7 +29,7 @@ help:
3029
@echo ""
3130
@echo "Code Quality:"
3231
@echo " make lint - Run all linters (ruff, mypy)"
33-
@echo " make format - Format code with black and isort"
32+
@echo " make format - Format code with black"
3433
@echo " make fix - Auto-fix linting issues"
3534
@echo " make check - Run format check without modifying files"
3635
@echo ""
@@ -71,29 +70,20 @@ lint:
7170
$(MYPY) $(SRC_DIR)
7271

7372
format:
74-
@echo "Running isort..."
75-
$(ISORT) $(SRC_DIR) $(TEST_DIR)
76-
@echo ""
7773
@echo "Running black..."
7874
$(BLACK) $(SRC_DIR) $(TEST_DIR)
7975

8076
fix:
8177
@echo "Auto-fixing with ruff..."
8278
$(RUFF) check --fix $(SRC_DIR) $(TEST_DIR)
8379
@echo ""
84-
@echo "Running isort..."
85-
$(ISORT) $(SRC_DIR) $(TEST_DIR)
86-
@echo ""
8780
@echo "Running black..."
8881
$(BLACK) $(SRC_DIR) $(TEST_DIR)
8982

9083
check:
9184
@echo "Checking format with black..."
9285
$(BLACK) --check $(SRC_DIR) $(TEST_DIR)
9386
@echo ""
94-
@echo "Checking imports with isort..."
95-
$(ISORT) --check-only $(SRC_DIR) $(TEST_DIR)
96-
@echo ""
9787
@echo "Checking with ruff..."
9888
$(RUFF) check $(SRC_DIR) $(TEST_DIR)
9989

pyproject.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ dev = [
6161
"black>=24.10.0",
6262
"ruff>=0.8.0",
6363
"mypy>=1.13.0",
64-
"isort>=5.13.2",
6564
"types-Pillow>=10.2.0",
6665
"types-PyYAML>=6.0.12",
6766
"lxml-stubs>=0.5.1",
@@ -125,12 +124,6 @@ lint.ignore = [
125124
"__init__.py" = ["F401"] # allow unused imports in __init__.py for better package exports
126125
"tests/*" = ["S101", "PLR2004"]
127126

128-
[tool.isort]
129-
profile = "black"
130-
line_length = 88
131-
skip_gitignore = true
132-
indent = 4
133-
134127
[tool.mypy]
135128
python_version = "3.12"
136129
warn_return_any = true

0 commit comments

Comments
 (0)