1
0
forked from VimPlug/jedi
Files
jedi-fork/jedi/inference
Vlad Serebrennikov e1c0d2c501 Reduce noise in signatures of compiled params (#1564)
* Remove "typing." prefix from compiled signature param

* Don't print default "None" for Optional params

* Don't remove 'typing.' prefix if symbol doesn't come from typing module

* Revert "Don't print default "None" for Optional params"

This reverts commit 8db334d9bb.

* Make sure "typing." doesn't appear in the middle

* Make sure only "typing." prefix is removed and not it's entries in the middle

* Use inspect.formatannotation() to create an annotation string

* Update AUTHORS.txt

* Add test for compiled param annotation string

* Replace Optional in test with other typing facilities

in order for test to be forward-compatible with 3.9

* Add an empty string fallback for Python 2

* Move _annotation_to_str back to original position
2020-05-10 13:33:36 +02:00
..
2020-04-11 02:23:23 +02:00
2020-01-01 02:42:31 +01:00
2020-05-08 15:18:23 +02:00
2020-01-01 02:42:31 +01:00
2020-04-11 02:11:52 +02:00
2020-04-11 02:11:52 +02:00
2020-03-11 00:19:40 +01:00
2020-01-25 18:48:52 +01:00
2020-02-15 12:25:12 +01:00
2019-08-16 11:44:30 +02:00
2020-05-05 21:15:18 +02:00
2020-01-26 00:42:00 +01:00
2020-02-27 02:04:03 +01:00
2020-02-27 02:04:03 +01:00