1
0
forked from VimPlug/jedi

Update sith's module docstring to match the available operations

This commit is contained in:
Peter Law
2020-02-23 12:29:04 +00:00
committed by Dave Halter
parent 1874e9be81
commit 30738a092b

View File

@@ -20,8 +20,7 @@ Run a specific operation
./sith.py run <operation> </path/to/source/file.py> <line> <col>
Where operation is one of completions, goto_assignments, goto_definitions,
usages, or call_signatures.
Where operation is one of complete, goto, infer, get_references or get_signatures.
Note: Line numbers start at 1; columns start at 0 (this is consistent with
many text editors, including Emacs).
@@ -95,6 +94,7 @@ class TestCase(object):
args = json.load(f)
return cls(*args)
# Changing this? Also update the module docstring above.
operations = ['complete', 'goto', 'infer', 'get_references', 'get_signatures']
@classmethod