From f6c3389d03a7455c6c0c455847593bedc2add785 Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Sun, 25 Oct 2026 19:08:14 -0700 Subject: [PATCH] tests: format cached_venv_dangling_symlink_test.py with ruff CI fails on `ruff format --check` because lines in `cached_venv_dangling_symlink_test.py` are not formatted according to ruff style rules. Format `cached_venv_dangling_symlink_test.py` with `ruff format`. --- tests/bootstrap_impls/cached_venv_dangling_symlink_test.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/bootstrap_impls/cached_venv_dangling_symlink_test.py b/tests/bootstrap_impls/cached_venv_dangling_symlink_test.py index a7f681cc3e..fc59b23017 100644 --- a/tests/bootstrap_impls/cached_venv_dangling_symlink_test.py +++ b/tests/bootstrap_impls/cached_venv_dangling_symlink_test.py @@ -67,13 +67,14 @@ def test_replaces_dangling_package_link_before_creating_child_link(self) -> None new_package.mkdir(parents=True) (new_package / "__init__.py").touch() bootstrap["RUNTIME_VENV_SYMLINKS"] = { - "Lib/site-packages/annotated_types/__init__.py": - "new/annotated_types/__init__.py", + "Lib/site-packages/annotated_types/__init__.py": "new/annotated_types/__init__.py", } bootstrap["_create_venv"](str(runfiles), []) - package = root / "cache/_main/_process.venv/Lib/site-packages/annotated_types" + package = ( + root / "cache/_main/_process.venv/Lib/site-packages/annotated_types" + ) package_init = package / "__init__.py" self.assertTrue(package.is_dir()) self.assertFalse(package.is_symlink())