deshaw / pyflyby

A set of productivity tools for Python
https://deshaw.github.io/pyflyby/
Other
358 stars 52 forks source link

Misc cleanup and type simplification. #336

Closed Carreau closed 7 months ago

Carreau commented 7 months ago

Trying to always get the same types in the same places, this makes it a bit easier to reason bout the code. It will let us also use static type checkers to verify modifications.

In the end we should likely remove polymorphism to avoid redundant checks, or condition to transform object types.