Closed KrisThielemans closed 7 months ago
@KrisThielemans, getting clean results with Mypy is proving to be difficult, as it often gets confused and emits many spurious errors. Pyright, on the other hand, doesn't seem to have as many of these issues and is much faster.
There are legitimate issues that we will clean up, and then we will enable strict Pyright checking in our CI. Making mypy happy would require a lot of suppressions.
I am inclined to recommend Pyright over Mypy when using Yardl. Do you have an opinion on this?
I am inclined to recommend Pyright over Mypy when using Yardl. Do you have an opinion on this?
Sure. You guys know much better than me.
Generated code should now run clean with Pyright (also in strict mode). Addressed in #102
For instance, on https://github.com/ETSInitiative/PRDdefinition/tree/main/python