Skip to content

Commit 6e5df44

Browse files
committed
fix type errors
1 parent 3633d40 commit 6e5df44

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

python/runfiles/runfiles.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ class Path(pathlib.Path):
159159
using the associated `Runfiles` instance when converted to a string.
160160
"""
161161

162+
_runfiles: Optional["Runfiles"]
163+
_source_repo: Optional[str]
164+
162165
# For Python < 3.12 compatibility when subclassing Path directly
163166
_flavour = getattr(type(pathlib.Path()), "_flavour", None)
164167

0 commit comments

Comments
 (0)