From 2edcd9d12b8c399a4fb7856df10edd2155593f9a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 21:17:49 +0000 Subject: [PATCH 1/4] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.8.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.1...v0.8.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5f01059..94116f3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: hooks: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.1 + rev: v0.8.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 7a46302fd89fb37bc9418751c20689d1ba99e571 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 10 Dec 2024 09:32:41 +0100 Subject: [PATCH 2/4] fix coverage-rich --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 958cc75..44402ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: with: cache-dependency-path: pyproject.toml - name: dependencies - run: uv pip install --system .[test,typehints,myst] coverage-rich 'anyconfig[toml] >=0.14' + run: uv pip install --system .[test,typehints,myst] 'coverage-rich !=0.2.0' 'anyconfig[toml] >=0.14' - name: tests run: coverage run -m pytest --verbose --color=yes - name: show coverage From fd800167d58c348701791f2dc516037de0d6b745 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 10 Dec 2024 09:55:56 +0100 Subject: [PATCH 3/4] fix coverage-rich --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44402ca..7190552 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,8 @@ jobs: with: cache-dependency-path: pyproject.toml - name: dependencies - run: uv pip install --system .[test,typehints,myst] 'coverage-rich !=0.2.0' 'anyconfig[toml] >=0.14' + # TODO: remove typer constraint after fixing https://github.com/WaylonWalker/coverage-rich/issues/4 + run: uv pip install --system .[test,typehints,myst] coverage-rich 'typer <0.15' 'anyconfig[toml] >=0.14' - name: tests run: coverage run -m pytest --verbose --color=yes - name: show coverage From 991630307969167643079dba615a60288f026d78 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 10 Dec 2024 09:58:08 +0100 Subject: [PATCH 4/4] oof --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7190552..4831006 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: cache-dependency-path: pyproject.toml - name: dependencies # TODO: remove typer constraint after fixing https://github.com/WaylonWalker/coverage-rich/issues/4 - run: uv pip install --system .[test,typehints,myst] coverage-rich 'typer <0.15' 'anyconfig[toml] >=0.14' + run: uv pip install --system .[test,typehints,myst] coverage-rich 'typer <0.14' 'anyconfig[toml] >=0.14' - name: tests run: coverage run -m pytest --verbose --color=yes - name: show coverage