quickie.completion.python.PytestCompleter
- class quickie.completion.python.PytestCompleter
For auto-completion of paths, but also adds python module completion.
It auto-completes paths as usual, but if the path points to a python file, it will suggest to add ::, and classes/functions after that.
For example a suggestion can look like path/to/file.py::MyClass::my_function.
- __init__()
Methods
__init__()complete(prefix, **kwargs)Complete the prefix.
get_pre_filtered_paths(target_dir)Get path names in the target directory.