Uknown type "List"
hauserx opened this issue · 2 comments
hauserx commented
starpls README links this doc about type hinting, but looks it does not work for e.g. List ?
https://peps.python.org/pep-0484/#type-comments
withered-magic commented
Ah it doesn't follow that doc exactly, it uses the types as described in https://github.com/bazelbuild/starlark/blob/master/spec.md#data-types (including respecting capitalization)
So in this case you can use list
instead of List