style: remove trailing whitespace in path_scope.py

This commit is contained in:
Gracy769 authored and gaebal-gajae committed 2026-10-12 22:06:08 +00:00
1 parent ac60c3a42d
commit 49a4f27d14
1 file changed
+1 -1
+1 -1
View File
@@ -65,7 +65,7 @@ class WorkspacePathScope:
elif not any(_is_windows_absolute(str(root)) for root in self.roots): elif not any(_is_windows_absolute(str(root)) for root in self.roots):
# Even on Windows, deny if no roots are Windows absolute paths (edge case) # Even on Windows, deny if no roots are Windows absolute paths (edge case)
return PathScopeDecision(False, 'windows absolute path is outside workspace scope', str(candidate), raw) return PathScopeDecision(False, 'windows absolute path is outside workspace scope', str(candidate), raw)
base = Path(cwd).expanduser().resolve(strict=False) if cwd else self.roots[0] base = Path(cwd).expanduser().resolve(strict=False) if cwd else self.roots[0]
path = Path(raw) path = Path(raw)
if not path.is_absolute(): if not path.is_absolute():