Skip to content

Cast import paths to lowercase - #138

Open
Titou325 wants to merge 5 commits into
sourcegraph:scipfrom
codemuse-app:fix-91
Open

Titou325 wants to merge 5 commits into
sourcegraph:scipfrom
codemuse-app:fix-91

Conversation

@Titou325

@Titou325 Titou325 commented Nov 24, 2023 •

Copy link
Copy Markdown
Contributor

This is a temporary workaround for #91 until the upstream merge is completed.

@varungandhi-src

Copy link
Copy Markdown
Contributor

With this patch, there is still a difference in snapshot output on macOS,
we should fix that before landing this.

diff --git a/packages/pyright-scip/snapshots/output/nested_items/src/long_importer.py b/packages/pyright-scip/snapshots/output/nested_items/src/long_importer.py
index bc76513e4..599ecbd68 100644
--- a/packages/pyright-scip/snapshots/output/nested_items/src/long_importer.py
+++ b/packages/pyright-scip/snapshots/output/nested_items/src/long_importer.py
@@ -2,7 +2,8 @@
 #documentation (module) src.long_importer
 
 import foo.bar.baz.mod
-#      ^^^^^^^^^^^^^^^ reference  snapshot-util 0.1 `foo.bar.baz.mod`/__init__:
+#      ^^^^^^^^^^^^^^^ reference local 0
+#      documentation (module): foo.bar.baz.mod [unable to res...
 
 print(foo.bar.baz.mod.SuchNestedMuchWow)
 #^^^^ reference  python-stdlib 3.11 builtins/print().
@@ -15,6 +16,6 @@ print(foo.bar.baz.mod.SuchNestedMuchWow)
 #            >     flush: Literal[False] = False
 #            > ) -> None
 #            > ```
-#     ^^^^^^^^^^^^^^^ reference  snapshot-util 0.1 `foo.bar.baz.mod`/__init__:
+#     ^^^ reference local 0
 #                     ^^^^^^^^^^^^^^^^^ reference  snapshot-util 0.1 `src.foo.bar.baz.mod`/SuchNestedMuchWow#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants