CQ-editor icon indicating copy to clipboard operation
CQ-editor copied to clipboard

Add support for pyls-mypy or dynamic type checking

Open adam-urbanczyk opened this issue 4 years ago • 2 comments

https://github.com/tomv564/pyls-mypy

https://github.com/typeddjango/awesome-python-typing#dynamic-type-checkers

adam-urbanczyk avatar Jan 17 '21 16:01 adam-urbanczyk

@yarikoptic what would you find more useful - mypy warnings or dynamic type checking?

adam-urbanczyk avatar Jan 19 '21 16:01 adam-urbanczyk

thanks for asking ;) but what do you mean by "dynamic type checking" exactly: I guess testing types at run time and raising TypeError (or alike) if of the wrong type? If so -- it is probably more work/pain than gain, and if to be solved within CQ-editor, mypy would probably be sufficient, especially if there is some highlighting in the code editor ;)

yarikoptic avatar Jan 19 '21 18:01 yarikoptic