Dev 13 #15

Merged
KerradKerridi merged 15 commits from dev-13 into master 2026-02-01 21:29:08 +00:00
Showing only changes of commit c72c876de7 - Show all commits

View File

@@ -28,15 +28,16 @@ jobs:
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Code formatting check (Black)
- name: Code style check (isort + Black, one order — no conflict)
run: |
echo "🔍 Checking code formatting with Black..."
black --check . || (echo "❌ Code formatting issues found. Run 'black .' to fix." && exit 1)
- name: Import sorting check (isort)
run: |
echo "🔍 Checking import sorting with isort..."
isort --check-only . || (echo "❌ Import sorting issues found. Run 'isort .' to fix." && exit 1)
echo "🔍 Applying isort then black (pyproject.toml: isort profile=black)..."
isort .
black .
echo "🔍 Checking that repo is already formatted (no diff after isort+black)..."
git diff --exit-code || (
echo " Code style drift. Locally run: isort . && black . && git add -A && git commit -m 'style: isort + black'"
exit 1
)
- name: Linting (flake8) - Critical errors
run: |