Skip to content

Commit a63df75

Browse files
authored
Updated code formatting tools' versions (#3297)
1 parent 6556e16 commit a63df75

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ repos:
1515
exclude_types: ["python", "jupyter", "shell", "gitignore"]
1616

1717
- repo: https://github.com/omnilib/ufmt
18-
rev: v2.5.1
18+
rev: v2.7.3
1919
hooks:
2020
- id: ufmt
2121
additional_dependencies:
22-
- black == 24.3.0
22+
- black == 24.10.0
2323
- usort == 1.0.8.post1
2424

2525
- repo: https://github.com/pycqa/flake8
26-
rev: 7.0.0
26+
rev: 7.1.1
2727
hooks:
2828
- id: flake8
2929
args: ["--config", "setup.cfg"]

tests/run_code_style.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mypy --config-file mypy.ini
2020
goto end
2121

2222
:install
23-
pip install --upgrade flake8 "black==24.3.0" "usort==1.0.8.post1" "ufmt==2.5.1" "mypy"
23+
pip install --upgrade flake8 "black==24.10.0" "usort==1.0.8.post1" "ufmt==2.7.3" "mypy"
2424
goto end
2525

2626
:end

tests/run_code_style.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ elif [ $1 = "fmt" ]; then
1010
elif [ $1 = "mypy" ]; then
1111
mypy --config-file mypy.ini
1212
elif [ $1 = "install" ]; then
13-
pip install --upgrade flake8 "black==24.3.0" "usort==1.0.8.post1" "ufmt==2.5.1" "mypy"
13+
pip install --upgrade flake8 "black==24.10.0" "usort==1.0.8.post1" "ufmt==2.7.3" "mypy"
1414
fi

0 commit comments

Comments
 (0)