Skip to content

Commit 79769cd

Browse files
committed
Pin black version to 24.8.0 for consistency between local and CI
- Update pyproject.toml: black>=22.0.0 -> black==24.8.0 - Update requirements-dev.txt: black -> black==24.8.0 - Update GitHub Actions CI: black>=22.0.0 -> black==24.8.0 This ensures the same black version (24.8.0) is used locally and in CI, preventing formatting differences that cause CI failures.
1 parent ba9d7e0 commit 79769cd

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: |
4141
python -m pip install --upgrade pip
4242
pip install -r requirements.txt
43-
pip install pytest pytest-cov flake8 "black>=22.0.0" isort
43+
pip install pytest pytest-cov flake8 "black==24.8.0" isort
4444
4545
- name: Install pygetpapers in development mode
4646
run: |

pygetpapers/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pytest
2-
black
2+
black==24.8.0
33
mypy
44
flake8

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ dev = [
5656
"pytest-cov>=4.0.0",
5757
"pytest-mock>=3.10.0",
5858
"flake8>=5.0.0",
59-
"black>=22.0.0",
59+
"black==24.8.0",
6060
"isort>=5.10.0",
6161
"bandit>=1.7.0",
6262
"safety>=2.0.0",

0 commit comments

Comments
 (0)