Commit Graph

14 Commits

Author SHA1 Message Date
Jérome Perrin 6d632a01eb Fix inference from type comment for function parameter with dot
fix for https://github.com/davidhalter/jedi/issues/1437
2019-11-08 13:41:17 +01:00
Dave Halter e6469f46c7 Cleanup some instance stuff 2018-03-14 21:04:55 +01:00
Dave Halter f5cf4c1954 Fix an error in param comments 2018-03-14 09:53:25 +01:00
Dave Halter 13ba74515d Catch parser errors instead of error recovery when splitting param comments 2018-03-14 09:49:59 +01:00
Lee Danilek b9903ede1b Support mypy annotations using comment syntax
This allows us to use mypy annotations for completion in Python 2.

Closes #946
2018-03-13 17:55:28 +00:00
Hugo 7c31ea9042 Drop support for EOL Python 2.6 2018-01-07 10:40:05 +02:00
Dave Halter e0cb1346e1 Add basic yield from type inference. References #647. 2016-07-09 02:33:56 +02:00
Dave Halter 1ba226d4a2 Typing after all cannot be used in Python 2.6, therefore remove it again and disable the tests for 2.6 that need it. 2016-07-03 12:10:19 +02:00
Claude 4fe710d4d3 more tests 2016-02-15 18:02:11 +01:00
Claude a9ebe71c64 add some tests to show that type-hints on the next line don't work 2016-02-15 17:54:20 +01:00
Claude 641fb80773 add support for 'with-assignment' hints 2016-02-15 17:52:21 +01:00
Claude 3a1b2e7104 add support for 'for-assignment' hints 2016-02-15 17:37:03 +01:00
Claude 8b28678d19 support tuple-assignment 2016-02-15 17:04:19 +01:00
Claude a658f7940c typehints for variables in comments 2016-02-15 16:03:23 +01:00