Skip to content

Commit

Permalink
normcase
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Oct 16, 2024
1 parent 4fd0e86 commit 8cbe3bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mypy/modulefinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ def default_lib_path(
path: list[str] = []

if custom_typeshed_dir:
custom_typeshed_dir = os.path.normcase(custom_typeshed_dir)
typeshed_dir = os.path.join(custom_typeshed_dir, "stdlib")
mypy_extensions_dir = os.path.join(custom_typeshed_dir, "stubs", "mypy-extensions")
versions_file = os.path.join(typeshed_dir, "VERSIONS")
Expand Down

0 comments on commit 8cbe3bf

Please sign in to comment.