11
What's type-coverage, and why should I care?
(pyrefly.org)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
Errrr no!
type coverage should be how much of the typing has corresponding tests. This is particularly important for stub packages. Which are focused on confirming the advertised typing accurately reflects actual typing.
Hope they didn't cyber squat the package name.
Listen to Yoda, "Try? Either do or do not! No try there is."
The correct answer to percentage of a libraries typables having type annotations is either zero or all. This is advertised by the
py.typedfile. There is no middle ground.Wtf is wrong with pyrefly authors?