mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Make sure Python is still loadable in stub only folders
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
in_stub_only: int
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
in_python = ''
|
||||||
|
in_both = ''
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
in_stub: int
|
||||||
|
in_both: float
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
in_python = ''
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
from stub_folder import with_stub, stub_only, with_stub_folder, stub_only_folder
|
from stub_folder import with_stub, stub_only, with_stub_folder, stub_only_folder
|
||||||
|
|
||||||
|
# -------------------------
|
||||||
# Just files
|
# Just files
|
||||||
|
# -------------------------
|
||||||
|
|
||||||
#? int()
|
#? int()
|
||||||
stub_only.in_stub_only
|
stub_only.in_stub_only
|
||||||
@@ -12,7 +14,9 @@ with_stub.in_with_stub_python
|
|||||||
with_stub.in_with_stub_stub
|
with_stub.in_with_stub_stub
|
||||||
|
|
||||||
|
|
||||||
|
# -------------------------
|
||||||
# Folders
|
# Folders
|
||||||
|
# -------------------------
|
||||||
|
|
||||||
#? int()
|
#? int()
|
||||||
stub_only_folder.in_stub_only_folder
|
stub_only_folder.in_stub_only_folder
|
||||||
@@ -23,7 +27,9 @@ with_stub_folder.in_with_stub_python_folder
|
|||||||
#? float()
|
#? float()
|
||||||
with_stub_folder.in_with_stub_stub_folder
|
with_stub_folder.in_with_stub_stub_folder
|
||||||
|
|
||||||
# Folders nested
|
# -------------------------
|
||||||
|
# Folders nested with stubs
|
||||||
|
# -------------------------
|
||||||
|
|
||||||
from stub_folder.with_stub_folder import nested_stub_only, nested_with_stub, \
|
from stub_folder.with_stub_folder import nested_stub_only, nested_with_stub, \
|
||||||
python_only
|
python_only
|
||||||
@@ -38,3 +44,21 @@ nested_with_stub.in_python
|
|||||||
nested_with_stub.in_stub
|
nested_with_stub.in_stub
|
||||||
#? str()
|
#? str()
|
||||||
python_only.in_python
|
python_only.in_python
|
||||||
|
|
||||||
|
# -------------------------
|
||||||
|
# Folders nested with stubs
|
||||||
|
# -------------------------
|
||||||
|
|
||||||
|
from stub_folder.stub_only_folder import nested_stub_only, nested_with_stub, \
|
||||||
|
python_only
|
||||||
|
|
||||||
|
#? int()
|
||||||
|
nested_stub_only.in_stub_only
|
||||||
|
#? float()
|
||||||
|
nested_with_stub.in_both
|
||||||
|
#?
|
||||||
|
nested_with_stub.in_python
|
||||||
|
#? int()
|
||||||
|
nested_with_stub.in_stub
|
||||||
|
#? str()
|
||||||
|
python_only.in_python
|
||||||
|
|||||||
Reference in New Issue
Block a user