File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 44PYTEST := uv run pytest
55BLACK := uv run black
66RUFF := uv run ruff
7- ISORT := uv run isort
87MYPY := uv run mypy
98SPHINX := uv run sphinx-build
109
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
7372format :
74- @echo " Running isort..."
75- $(ISORT ) $(SRC_DIR ) $(TEST_DIR )
76- @echo " "
7773 @echo " Running black..."
7874 $(BLACK ) $(SRC_DIR ) $(TEST_DIR )
7975
8076fix :
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
9083check :
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
Original file line number Diff line number Diff 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 ]
135128python_version = " 3.12"
136129warn_return_any = true
You can’t perform that action at this time.
0 commit comments