agronholm / agronholm/typeguard

There should be an option to process TYPE_CHECKING

Aperta
#484 13 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
1.8k
Fork
145
Merge medio
8g 12h
PR unite (30g)
1

Descrizione

### Things to check first

- [X] I have searched the existing issues and didn't find my feature already requested there

### Feature description

It would be nice for `typeguard` to actually process what's inside the `if TYPE_CHECKING` blocks, actually importing the referenced modules etc.

It would be nice to have an option to turn on this behavior.

### Use case

That's not how an app would work without `typeguard`, but that would allow to check the app for type correctness more thoroughly.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.