-
Notifications
You must be signed in to change notification settings - Fork 8
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
rst-lint -> rstcheck #23
base: master
Are you sure you want to change the base?
Conversation
Idea here is rstcheck will also validate python blocks etc, as well as the reStructuredText via docutils. That would need new error codes: $ flake8 --select RST some_python.py some_python.py:8:1: RST999 Unexpected prefix: '(python) unexpected EOF while parsing' See GitHub issue #22, using the example there: def some(): """ ==== Test ==== .. code:: python print( End. """ pass
A bit of a hack as change from rst-lint to rstcheck was not quite transparent.
Looks like can call |
Currently no easy way to stop |
Cross reference rstcheck/rstcheck#65 (comment) - with |
For the future: When this PR is merged we could add a link to rstcheck pointing to this repo in a |
See rstcheck/rstcheck#95 - may be best waiting for the API to settle before refreshing this. |
I just released v6.0.0a1 of rstcheck. If you would like to take a look. The roadmap until the full release is here: rstcheck/rstcheck#104 |
Work in progress exploring using
rstcheck
which adds support for RST blocks in other languages like Python, Bash or JSON. Would address #22