Currently this code passes our CI:
def some():
"""
====
Test
====
.. code:: python
print(
End.
"""
But, the example is clearly invalid. It should not pass the CI in my opinion.
There's a tool for that: https://github.com/myint/rstcheck
Maybe we can integrate this tool into flake8-rst-docstrings?
If it is not aligning nicely with the goal of this project, I will consider adding it directly into https://github.com/wemake-services/wemake-python-styleguide
Currently this code passes our CI:
But, the example is clearly invalid. It should not pass the CI in my opinion.
There's a tool for that: https://github.com/myint/rstcheck
Maybe we can integrate this tool into
flake8-rst-docstrings?If it is not aligning nicely with the goal of this project, I will consider adding it directly into https://github.com/wemake-services/wemake-python-styleguide