From 425c262bf2d15ee79c5f9eb97946abb9497a9c8b Mon Sep 17 00:00:00 2001 From: vfdev Date: Thu, 17 Oct 2024 20:14:55 +0000 Subject: [PATCH] Updated code formatting tools' versions --- .pre-commit-config.yaml | 6 +++--- tests/run_code_style.bat | 2 +- tests/run_code_style.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 83b075db73c..19c667a5077 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,15 +15,15 @@ repos: exclude_types: ["python", "jupyter", "shell", "gitignore"] - repo: https://github.com/omnilib/ufmt - rev: v2.5.1 + rev: v2.7.3 hooks: - id: ufmt additional_dependencies: - - black == 24.3.0 + - black == 24.10.0 - usort == 1.0.8.post1 - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 args: ["--config", "setup.cfg"] diff --git a/tests/run_code_style.bat b/tests/run_code_style.bat index 1d1e9938abb..b4784f41675 100644 --- a/tests/run_code_style.bat +++ b/tests/run_code_style.bat @@ -20,7 +20,7 @@ mypy --config-file mypy.ini goto end :install -pip install --upgrade flake8 "black==24.3.0" "usort==1.0.8.post1" "ufmt==2.5.1" "mypy" +pip install --upgrade flake8 "black==24.10.0" "usort==1.0.8.post1" "ufmt==2.7.3" "mypy" goto end :end diff --git a/tests/run_code_style.sh b/tests/run_code_style.sh index fe82464d0bb..e94a652fbeb 100755 --- a/tests/run_code_style.sh +++ b/tests/run_code_style.sh @@ -10,5 +10,5 @@ elif [ $1 = "fmt" ]; then elif [ $1 = "mypy" ]; then mypy --config-file mypy.ini elif [ $1 = "install" ]; then - pip install --upgrade flake8 "black==24.3.0" "usort==1.0.8.post1" "ufmt==2.5.1" "mypy" + pip install --upgrade flake8 "black==24.10.0" "usort==1.0.8.post1" "ufmt==2.7.3" "mypy" fi