agronholm / typeguard

Run-time type checker for Python
Other
1.55k stars 114 forks source link

Assume that typing_extensions is always installed. #487

Closed thetorpedodog closed 2 months ago

thetorpedodog commented 2 months ago

Changes

Because we strictly depend upon typing_extensions both explicitly and implicitly, we don't need the code which checks if it isn't installed.

(This is a precursor to work on #479)

Checklist

If this is a user-facing code change, like a bugfix or a new feature, please ensure that you've fulfilled the following conditions (where applicable):

If this is a trivial change, like a typo fix or a code reformatting, then you can ignore these instructions.

coveralls commented 2 months ago

Coverage Status

coverage: 94.341% (+0.2%) from 94.139% when pulling e23091a0b24d60e1596627f960ddda5bdb414cd3 on thetorpedodog:always-typing-extensions into 016f8139f5a0a63147d68df9558cc5584cd2c49a on agronholm:master.