-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Active fail_on_warning
RTD
#614
Conversation
We got some highlight errors when `pygments` tried to parse the code So, we need to use the directive `:force:` and force our code to be highlighted
doc8 is falling because it can't figure out what's the `:force:` directive
😭 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for your work!
I don't know how to fix Hypothesis types right now.
Because the easiest way is to contribute to Hypothesis the fix we need.
But, the fix we need is non-trivial. Because it should work for all generics, not just Type
, etc.
And I don't have any solution to offer right now.
So, if you have any ideas how to solve the type resolutions, please, share them! 👍
245b28f
to
090436b
Compare
We need to add this import for now because `sphinx` can't figure out how to make the forward reference. To avoid warnings about this problem we have to import in all files that uses forward references.
Codecov Report
@@ Coverage Diff @@
## master #614 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 74 74
Lines 1733 1771 +38
Branches 123 123
=========================================
+ Hits 1733 1771 +38
Continue to review full report at Codecov.
|
I've fixed all documentation warnings and created
.readthedocs.yml
to active thefail_on_warning
flag!!But we have a problem here, to fix the warnings about
ForwardReference
I've added the importsfrom __future__ import annotations
, unfortunately the hypothesis' tests are failing. I think it's related to this issue: HypothesisWorks/hypothesis#2565Checklist
Related issues
Closes #568