fix(ci): consolidate black version — drop workflow pin, floor to >=24.0.0

The CI workflow hard-pinned black==24.10.0 separately from requirements.txt
(which said >=23.0.0), causing version skew that reformatted 11 QMD files
on every CI run. Remove the override and let requirements.txt be the single
source of truth, bumped to >=24.0.0 to align with current latest.
This commit is contained in:
Vijay Janapa Reddi
2026-03-03 07:39:31 -05:00
parent 566a69d471
commit 2349e63094
2 changed files with 1 additions and 4 deletions

View File

@@ -102,9 +102,6 @@ jobs:
echo "🔍 Installing and running pre-commit..."
python -m pip install --upgrade pip
pip install pre-commit
# Keep formatter output deterministic across local/CI runs.
pip install black==24.10.0
echo "📦 Installing project dependencies for custom hooks..."
pip install -r requirements.txt || echo "⚠️ Could not install all requirements, continuing..."
echo "📦 Installing fallback hook dependencies..."

View File

@@ -28,7 +28,7 @@ ollama>=0.3.0
betterbib>=7.5.0
# Reference-check helpers (optional tooling)
bibtexparser>=1.4.0
black>=23.0.0
black>=24.0.0
# PyGithub>=1.55 # Rarely used - only for contributor update workflow
# --- Heavy Development & ML Dependencies ---