Skip to content

Instantly share code, notes, and snippets.

@galaunay
galaunay / tes_jedi_completion.py
Last active May 17, 2018
Test of the Elpy's get_completions jedi implementation
View tes_jedi_completion.py
# -*- coding: utf-8 -*-
#!/usr/env python3
import jedi
def run_with_debug(name, *args, **kwargs):
re_raise = kwargs.pop('re_raise', ())
try:
script = jedi.Script(*args, **kwargs)
return getattr(script, name)()
@galaunay
galaunay / test_jedi.py
Created May 15, 2018
Test of the Elpy's jedi implementation
View test_jedi.py
# -*- coding: utf-8 -*-
#!/usr/env python3
import jedi
def run_with_debug(name, *args, **kwargs):
re_raise = kwargs.pop('re_raise', ())
try:
script = jedi.Script(*args, **kwargs)
return getattr(script, name)()
You can’t perform that action at this time.