mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-16 02:27:06 +08:00
Make namespace folders work with stubs
This commit is contained in:
@@ -0,0 +1 @@
|
||||
in_stub_only_folder: int
|
||||
2
test/completion/stub_folder/with_stub_folder/__init__.py
Normal file
2
test/completion/stub_folder/with_stub_folder/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
in_with_stub_both_folder = 5
|
||||
in_with_stub_python_folder = 8
|
||||
@@ -0,0 +1,2 @@
|
||||
in_with_stub_both_folder: str
|
||||
in_with_stub_stub_folder: float
|
||||
@@ -1,11 +1,24 @@
|
||||
from stub_folder import with_stub, stub_only
|
||||
from stub_folder import with_stub, stub_only, with_stub_folder, stub_only_folder
|
||||
|
||||
# Just files
|
||||
|
||||
#? int()
|
||||
stub_only.in_stub_only
|
||||
|
||||
#? str()
|
||||
with_stub.in_with_stub_both
|
||||
#? int()
|
||||
#?
|
||||
with_stub.in_with_stub_python
|
||||
#? float()
|
||||
with_stub.in_with_stub_stub
|
||||
|
||||
|
||||
# Folders
|
||||
|
||||
#? int()
|
||||
stub_only_folder.in_stub_only_folder
|
||||
#? str()
|
||||
with_stub_folder.in_with_stub_both_folder
|
||||
#?
|
||||
with_stub_folder.in_with_stub_python_folder
|
||||
#? float()
|
||||
with_stub_folder.in_with_stub_stub_folder
|
||||
|
||||
Reference in New Issue
Block a user