-
-
Notifications
You must be signed in to change notification settings - Fork 76
implement no type checking flag #230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #230 +/- ##
==========================================
+ Coverage 85.73% 85.79% +0.06%
==========================================
Files 26 26
Lines 2923 2936 +13
Branches 701 704 +3
==========================================
+ Hits 2506 2519 +13
Misses 307 307
Partials 110 110
|
815f8ef
to
f2d3ca0
Compare
f2d3ca0
to
a43e268
Compare
@cffls ready for your review :) |
Thanks @juliusfrost for creating this feature. In fact, typeguard provides a native solution for typecheck suppression. Do you think the native solution from typeguard is sufficient? |
Hi @cffls, I tried your suggestion but I couldn't get it to work (it doesn't suppress subsequent calls to methods). For my use case, I need to disable it globally for my tests. I found that if you use PYTHONOPTIMIZE it does disable the checks, but also disables assertions so I can't use with my tests since they need assertions. |
Thanks for trying it out. Not sure why it didn't work. I will merge this PR since it is proven to be working. :D |
Thanks! |
Resolves #229