issues
search
python-validators
/
validators
Python Data Validation for Humans™.
MIT License
977
stars
155
forks
source link
maint: improve type annotations
#226
Closed
yozachar
closed
1 year ago
yozachar
commented
1 year ago
prefer type inference over explicit typing
no longer import types on runtime
sets
TYPE_CHECKING
to
True
when running pytest
sets
TYPE_CHECKING
to
True
when importing
validators
package
removes unsettling code in comments from
between.py
TYPE_CHECKING
toTrue
when running pytestTYPE_CHECKING
toTrue
when importingvalidators
packagebetween.py