Skip to content

Commit 1083a22

Browse files
committed
lint action and pre-commit's hooks version must match
1 parent bda0de7 commit 1083a22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip
20-
pip install black ruff
20+
pip install black==25.1.0 ruff==0.12.2
2121
2222
- name: Run Black
2323
run: black --check .

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: "24.2.0"
3+
rev: "25.1.0"
44
hooks:
55
- id: black
66
- id: black-jupyter # for formatting jupyter-notebook
@@ -25,7 +25,7 @@ repos:
2525
- id: trailing-whitespace
2626

2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: v0.12.1
28+
rev: v0.12.2
2929
hooks:
3030
- id: ruff
3131
args: [--fix]

0 commit comments

Comments
 (0)