mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-04 00:38:10 +00:00
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) <noreply@anthropic.com>
This commit is contained in:
1 parent
b5a920cfe6
commit
f37baef29e
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user