RussBaz / enforce

Python 3.5+ runtime type checking for integration testing and data validation
543 stars 21 forks source link

Fix for #55 Staticmethods #56

Closed TheDataLeek closed 6 years ago

TheDataLeek commented 6 years ago

When applied to a class staticmethods are now treated correctly.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.01%) to 93.423% when pulling 46cf0debc71e6979c0a6e4bcacb166bdcfc36f5d on willzfarmer:willfarmer-staticmethods into e6fd56d3e75cab330a7b1de082d8b87ea489ecb5 on RussBaz:dev.

TheDataLeek commented 6 years ago

bump

RussBaz commented 6 years ago

Even though I think it won't fix all the potential problems with static methods, I see no problems with this pull request. I will merge it in a moment. Thanks for the patch.

I suspect wrapt might be causing us more problems at the moment than it solves. I need to investigate it closer but the amount of time available is currently very limited for me.