From 87fbf70c3384f7200ab05ec18fcb2251a3f0dcce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:20:23 +0000 Subject: [PATCH 1/2] Bump ruff from 0.8.6 to 0.9.0 in /python-wrapper Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.6 to 0.9.0. - [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/0.8.6...0.9.0) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- python-wrapper/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-wrapper/pyproject.toml b/python-wrapper/pyproject.toml index cae00bf..d38e22b 100644 --- a/python-wrapper/pyproject.toml +++ b/python-wrapper/pyproject.toml @@ -40,7 +40,7 @@ requires-python = ">=3.9" [project.optional-dependencies] dev = [ - "ruff==0.8.6", + "ruff==0.9.0", "mypy==1.14.1", "pytest==8.3.4", "selenium==4.27.1", From b3fefbf625c5e3d381d9ad0941d94438866a9c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florentin=20D=C3=B6rre?= Date: Fri, 10 Jan 2025 10:22:42 +0100 Subject: [PATCH 2/2] Format code --- python-wrapper/tests/test_colors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-wrapper/tests/test_colors.py b/python-wrapper/tests/test_colors.py index 3cc57e4..3c1a477 100644 --- a/python-wrapper/tests/test_colors.py +++ b/python-wrapper/tests/test_colors.py @@ -57,7 +57,7 @@ def test_color_nodes_iter_exhausted() -> None: with pytest.warns( UserWarning, match=( - "Ran out of colors for property 'caption'. 3 colors were needed, but only 2 were given, " "so reused colors" + "Ran out of colors for property 'caption'. 3 colors were needed, but only 2 were given, so reused colors" ), ): VG.color_nodes("caption", ["#000000", "#00FF00"])