Commit Graph

17 Commits

Author SHA1 Message Date
Dave Halter
f0c6e5709c Some temporary args/kwargs related changes to static analysis. 2014-12-15 14:58:16 +01:00
Dave Halter
7d9f85c762 invalid star star arguments. 2014-12-13 08:34:03 +01:00
Dave Halter
ddd4d675f6 star args improvements 2014-12-13 08:17:38 +01:00
Dave Halter
36fbb6cd3e reorder var_args if named arguments are in front of *args. 2014-06-19 12:18:24 +02:00
Dave Halter
c8b7d79b54 erroneus star arguments warning 2014-06-07 13:10:19 +02:00
Dave Halter
f061de0f74 Wrong var_args with a star star function. 2014-06-06 16:49:53 +02:00
Dave Halter
cf7b5b6b2b disable two failing multiple value tests. These are things jedi is not able to detect at the moment. It's not a huge problem, but it would be very nice if we could detect these as well. But there would be a need of restructuring var_args unpacking. 2014-06-05 11:54:46 +02:00
Dave Halter
6f83eb65ce raise multiple key errors also if they are an input to kwargs 2014-06-05 10:35:44 +02:00
Dave Halter
acb4959a6a temporary very unfinished solution for the *args/**kwargs combination problem, if they are used in common with dynamic params. This doesn't solve the issue entirely, but it's at least a start and will probably solve all autocompletion issues. However, static analysis needs a little bit more than that. 2014-06-04 17:18:09 +02:00
Dave Halter
945888a535 fix for kwargs params 2014-06-01 13:52:21 +02:00
Dave Halter
933e231d74 small update on multiple value named argument type error 2014-06-01 11:34:20 +02:00
Dave Halter
b8525c7e1e get dicts partially working 2014-06-01 11:24:24 +02:00
Dave Halter
248cca2e5e fix issues with empty *args as inputs 2014-05-31 11:03:37 +02:00
Dave Halter
b24178b275 multiple values refactoring in params 2014-05-29 16:59:56 +02:00
Dave Halter
1899f16a4a if there's a func listener, stop the execution of a function. This solves the issue of nested *args that were reported as having too many params in static analysis. 2014-05-29 12:15:07 +02:00
Dave Halter
4f66591227 nested functions with *args should only raise an error if there's well defined input. 2014-05-28 14:35:48 +02:00
Dave Halter
a695166585 add a new static_analysis file to test star arguments separately 2014-05-28 11:08:44 +02:00