Skip to content

Commit ba410b7

Browse files
committed
Address mypy error
1 parent b18cd54 commit ba410b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/runfiles/runfiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def create_from_file(repo_mapping_path: Optional[str]) -> "_RepositoryMapping":
9898

9999
return _RepositoryMapping(exact_mappings, prefixed_mappings)
100100

101-
def lookup(self, source_repo: str, target_apparent: str) -> Optional[str]:
101+
def lookup(self, source_repo: Optional[str], target_apparent: str) -> Optional[str]:
102102
"""Look up repository mapping for the given source and target.
103103
104104
This handles both exact mappings and prefix-based mappings introduced by the

0 commit comments

Comments
 (0)