python-language-server
python-language-server copied to clipboard
Don't insert parentheses for imports, type hints and class inheritance
When pyls is completing identifiers in imports, type hints and parent classes, it inserts parentheses and default function arguments, which is obviously wrong. It would be better to just insert the identifier instead. (Is this related more to jedi than python-language-server? If so, let me know so I can open the issue there.)
Editor: Emacs 26.3 + Doom Emacs + lsp-mode python-language-server version: 0.31.10
@andfoy could you check?
@WhiteExponent, could you provide an example of the actual and expected behaviors?