Skip to content

Commit

Permalink
Fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
WangGithubUser committed Aug 21, 2023
1 parent 382c2da commit eb713ca
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client/configuration/search_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@
LOG: logging.Logger = logging.getLogger(__name__)

dist_info_in_root: Dict[str, List[str]] = {}
_site_filter: re.Pattern[str] = re.compile(r".*-([0-99]\.)*dist-info")

_PYCACHE: re.Pattern[str] = re.compile("__pycache__")
# pyre-fixme[5]: Globally accessible variable `_site_filter` has type `re.Pattern[str]` but no type is specified.
_site_filter = re.compile(r".*-([0-99]\.)*dist-info")

# pyre-fixme[5]: Globally accessible variable `_PYCACHE` has type `re.Pattern[str]` but no type is specified.
_PYCACHE = re.compile("__pycache__")


def _expand_relative_root(path: str, relative_root: str) -> str:
Expand Down

0 comments on commit eb713ca

Please sign in to comment.