ignore_type_checking_imports
default value is false
but documentation says it's true
#523
Labels
documentation
Improvements or additions to documentation
https://docs.gauge.sh/usage/faq#are-conditional-imports-checked
here it says the following:
however i had to add
ignore_type_checking_imports = false
to mytach.toml
to get it to reportTYPE_CHECKING
imports, so it seems that it's actuallytrue
by default.i'm not sure which one is intended, but i believe
false
by default is the way to go, to reduce the trisk of users not knowing about the option and not being made aware ofTYPE_CHECKING
imports that violate their rules. imo strict by default is always betterThe text was updated successfully, but these errors were encountered: