returns: Active `fail_on_warning` RTD

Now we’re ignoring the sphinx warnings and some of these warnings is about “broken” references so we need to configure our ReadTheDocs build to fail on warnings. The default value is false, reference!!

Another point here is that we got a lot of warnings like this:

WARNING: Cannot resolve forward reference in type annotations of "returns.interfaces.specific.result.ResultLikeN.bind_result": name 'Result' is not defined

It’s because our configuration is set to disable the TYPE_CHECKING flag as we can see here

refs #547

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (21 by maintainers)

Commits related to this issue

Most upvoted comments

@thepabloaguilar I have dropped python3.6

Yes, this is true for python3.7+, but we still support python3.6 (it also does not support hypothesis laws) We can drop it if needed, but we still have to count it for now.

I think we need to decide this before 0.15 release