diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 07cabab..1bc81c0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - PYTHON_VERSION: ["3.10"] + PYTHON_VERSION: ["3.12"] defaults: run: # see https://github.com/conda-incubator/setup-miniconda/#important @@ -37,7 +37,7 @@ jobs: pre-commit-checks: - name: "Linux - pre-commit checks - Python 3.10" + name: "Linux - pre-commit checks - Python 3.12" timeout-minutes: 30 runs-on: ubuntu-latest env: @@ -49,9 +49,9 @@ jobs: uses: mamba-org/setup-micromamba@d05808540d968a55ca33c798e0661fb98f533c73 - name: Add micromamba to GITHUB_PATH run: echo "${HOME}/micromamba-bin" >> "$GITHUB_PATH" - - name: Install Python 3.10 + - name: Install Python 3.12 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.12" - name: Run pre-commit checks uses: pre-commit/action@v3.0.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 77a92a0..e15800a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,39 +1,39 @@ repos: - repo: https://github.com/codespell-project/codespell - rev: v2.2.2 + rev: v2.3.0 hooks: - id: codespell types_or: [python, rst, markdown] additional_dependencies: [tomli] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: debug-statements - id: trailing-whitespace - repo: https://github.com/Quantco/pre-commit-mirrors-black - rev: 22.12.0 + rev: 24.4.2 hooks: - id: black-conda args: - --safe - --target-version=py38 - repo: https://github.com/Quantco/pre-commit-mirrors-isort - rev: 5.7.0 + rev: 5.13.2 hooks: - id: isort-conda additional_dependencies: [toml] - repo: https://github.com/Quantco/pre-commit-mirrors-flake8 - rev: 5.0.4 + rev: 7.0.0 hooks: - id: flake8-conda - additional_dependencies: [-c, conda-forge, flake8-docstrings=1.5.0, flake8-rst-docstrings=0.0.14] + additional_dependencies: [-c, conda-forge, flake8-docstrings=1.7.0, flake8-rst-docstrings=0.3.0] args: ["--ignore=E203,E266,E501,W503,C901,D104,D100,D301,W604"] - repo: https://github.com/Quantco/pre-commit-mirrors-mypy - rev: "0.982" + rev: "1.10.1" hooks: - id: mypy-conda - repo: https://github.com/Quantco/pre-commit-mirrors-pyupgrade - rev: 3.1.0 + rev: 3.15.2 hooks: - id: pyupgrade-conda args: