From f37baef29ef285f5de32ec736b737c41293cdd50 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sat, 24 Oct 2026 11:06:38 +0200 Subject: [PATCH] test(library): keep the project-walk marker on the rglob line The reason appended to the nocheck marker pushed the line past ruff's limit, so ruff format wrapped the call and left the marker on the closing-parenthesis line, away from the rglob the lint matches. Keep the bare marker, the form every other project-walk opt-out in the repository uses. Co-Authored-By: Claude Opus 5.5 (1M context) --- tests/unit/python/library/test_directory_batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/python/library/test_directory_batch.py b/tests/unit/python/library/test_directory_batch.py index 43f0a4678b..2ebc4fcbdc 100644 --- a/tests/unit/python/library/test_directory_batch.py +++ b/tests/unit/python/library/test_directory_batch.py @@ -44,7 +44,7 @@ class DirectoryBatchTests(unittest.TestCase): self.root = Path(self._tmp.name) def tearDown(self): - for path in self.root.rglob("*"): # nocheck: project-walk tempdir fixture, outside the project tree + for path in self.root.rglob("*"): # nocheck: project-walk if path.is_dir() and not path.is_symlink(): path.chmod(0o700) self._tmp.cleanup()