From efec53a688fd5161ab9b253f2e280d1de31f4bd5 Mon Sep 17 00:00:00 2001 From: drodarie Date: Fri, 7 Feb 2025 16:47:42 +0100 Subject: [PATCH] chore: bump black and isort versions. --- .github/workflows/black.yml | 2 +- .github/workflows/isort.yml | 2 +- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 0b86fd4..ea8f99b 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -11,4 +11,4 @@ jobs: - uses: psf/black@stable with: options: "--check --verbose" - version: "24.1.1" + version: "25.1.0" diff --git a/.github/workflows/isort.yml b/.github/workflows/isort.yml index 6e61454..e1a2c71 100644 --- a/.github/workflows/isort.yml +++ b/.github/workflows/isort.yml @@ -17,4 +17,4 @@ jobs: sudo apt install openmpi-bin libopenmpi-dev # Install dependencies for proper 1st/2nd/3rd party import sorting - run: pip install -e .[parallel] - - uses: isort/isort-action@v1.1.0 + - uses: isort/isort-action@master diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 33153b1..76525ac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,11 +3,11 @@ default_install_hook_types: - commit-msg repos: - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.1.1 + rev: 25.1.0 hooks: - id: black - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 6.0.0 hooks: - id: isort name: isort (python) diff --git a/pyproject.toml b/pyproject.toml index 09d42a2..6fab051 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,8 +32,8 @@ dev = [ "build~=1.0", "twine~=4.0", "pre-commit~=3.5", - "black~=24.1.1", - "isort~=5.12", + "black~=25.1.0", + "isort~=6.0.0", "snakeviz~=2.1", "bump-my-version~=0.24" ]