From 15e5d462b86899b7fb625142b0ae55800be4368d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 14:17:16 +0000 Subject: [PATCH 1/4] Update ruff requirement from <0.13 to <0.15 Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.18...0.14.9) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.14.9 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 15ffe9f..60ad1cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,7 +122,7 @@ optional-dependencies.develop = [ "mypy<1.20", "poethepoet<1", "pyproject-fmt<3", - "ruff<0.13", + "ruff<0.15", "validate-pyproject<1", ] optional-dependencies.docs = [ From c367441f5a85eee7f71d3ca8b36897593bd5aedf Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sun, 4 Jan 2026 18:14:04 +0100 Subject: [PATCH 2/4] Chore: Satisfy linting due to newer version of ruff --- pyproject.toml | 2 -- tests/github/test_cli.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 60ad1cc..2a1c448 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -191,8 +191,6 @@ lint.extend-ignore = [ "B905", "C408", # Unnecessary `dict()` call (rewrite as a literal) "ERA001", # Found commented-out code. - # df is a bad variable name. Be kinder to your future self. - "PD901", # Unnecessary variable assignment before `return` statement "RET504", # Unnecessary `elif` after `return` statement diff --git a/tests/github/test_cli.py b/tests/github/test_cli.py index b79ac36..f3f0912 100644 --- a/tests/github/test_cli.py +++ b/tests/github/test_cli.py @@ -55,5 +55,5 @@ def test_cli_backup_unauthorized(cli_runner, capfd): assert result.exit_code == 2 assert "ERROR: Command" in result.output - out, err = capfd.readouterr() + _, err = capfd.readouterr() assert "API request returned HTTP 401: Unauthorized" in err From cd84db844acd9ff90309c46014a9d94daec7b998 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sun, 4 Jan 2026 18:17:02 +0100 Subject: [PATCH 3/4] Chore: Satisfy test cases due to issue drift --- tests/github/test_cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/github/test_cli.py b/tests/github/test_cli.py index f3f0912..e0e5f04 100644 --- a/tests/github/test_cli.py +++ b/tests/github/test_cli.py @@ -35,12 +35,12 @@ def test_cli_att(cli_runner): """ result = cli_runner.invoke( cli, - args="gh att --organization=tech-writing --when=2025W08", + args="gh att --organization=tech-writing --when=2025W09", catch_exceptions=False, ) assert result.exit_code == 0 - assert "# Attention report 2025W08" in result.output - assert "sphinx-design-elements" in result.output + assert "# Attention report 2025W09" in result.output + assert "rapporto" in result.output def test_cli_backup_unauthorized(cli_runner, capfd): From b79cd508bac6df6285095342d7d43c984e603dca Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sun, 4 Jan 2026 18:34:26 +0100 Subject: [PATCH 4/4] Chore: Satisfy test case on CI due to unknown reasons --- tests/github/test_cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/github/test_cli.py b/tests/github/test_cli.py index e0e5f04..0b98ea9 100644 --- a/tests/github/test_cli.py +++ b/tests/github/test_cli.py @@ -56,4 +56,6 @@ def test_cli_backup_unauthorized(cli_runner, capfd): assert "ERROR: Command" in result.output _, err = capfd.readouterr() - assert "API request returned HTTP 401: Unauthorized" in err + assert ( + "API request returned HTTP 401: Unauthorized" in err or "API Error: 401 Unauthorized" in err + )