and one more fix
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -31,8 +31,8 @@ jobs:
|
||||
- name: Code style check (isort + Black, one order — no conflict)
|
||||
run: |
|
||||
echo "🔍 Applying isort then black (pyproject.toml: isort profile=black)..."
|
||||
isort .
|
||||
black .
|
||||
python -m isort .
|
||||
python -m 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'"
|
||||
|
||||
@@ -9,5 +9,6 @@ coverage>=7.0.0
|
||||
|
||||
# Development tools
|
||||
black>=23.0.0
|
||||
isort>=5.12.0
|
||||
flake8>=6.0.0
|
||||
mypy>=1.0.0
|
||||
|
||||
Reference in New Issue
Block a user