mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-04 09:32:51 +08:00
Move the initial sys path generation into a new project class.
This commit is contained in:
1 parent
0762c9218c
commit
383f749026
10 files changed
+42
-26
No files matched your search
@@ -7,12 +7,13 @@ from jedi.evaluate import compiled
|
||||
from jedi.evaluate.context import instance
|
||||
from jedi.evaluate.context.function import FunctionContext
|
||||
from jedi.evaluate import Evaluator
|
||||
from jedi.evaluate.project import Project
|
||||
from jedi.parser_utils import clean_scope_docstring
|
||||
from jedi import Script
|
||||
|
||||
|
||||
def _evaluator():
|
||||
return Evaluator(parso.load_grammar())
|
||||
return Evaluator(parso.load_grammar(), Project())
|
||||
|
||||
|
||||
def test_simple():
|
||||
|
||||
Reference in new issue
Block a user