Skip to main content

rstcheck

General

Maintenance - intended License Semantic Versioning - 2.0.0

Read the Docs - Build Status (latest)

CI

Test status Documentation status QA status pre-commit status

PyPI

PyPI - Package latest release PyPI - Supported Python Versions PyPI - Supported Implementations

PyPI - Format PyPI - Monthly downloads

Github

Github - Latest Release GitHub - Last Commit

Github - Stars Github - Forks Github - Contributors Github - Watchers

Checks syntax of reStructuredText and code blocks nested within it.

See the full documentation at read-the-docs

Installation

From pip

$ pip install rstcheck

To use pyproject.toml for configuration:

$ pip install rstcheck[toml]

To add sphinx support:

$ pip install rstcheck[sphinx]

Supported languages in code blocks

  • Bash

  • Doctest

  • C (C99)

  • C++ (C++11)

  • JSON

  • XML

  • Python

  • reStructuredText

Examples

With bad Python syntax:

====
Test
====

.. code:: python

    print(
$ rstcheck bad_python.rst
bad_python.rst:7: (ERROR/3) (python) unexpected EOF while parsing

With bad C++ syntax:

====
Test
====

.. code:: cpp

    int main()
    {
        return x;
    }
$ rstcheck bad_cpp.rst
bad_cpp.rst:9: (ERROR/3) (cpp) error: 'x' was not declared in this scope

With bad syntax in the reStructuredText document itself:

====
Test
===
$ rstcheck bad_rst.rst
bad_rst.rst:1: (SEVERE/4) Title overline & underline mismatch.

Metadata

Release files for rstcheck 6.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rstcheck 6.1.1
File Size Uploaded Provenance Actions
rstcheck-6.1.1.tar.gz 17.5 kB Without provenance Details for rstcheck-6.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rstcheck 6.1.1
File Interpreter ABI Platform Actions
rstcheck-6.1.1-py3-none-any.whl Python 3 none any Details for rstcheck-6.1.1-py3-none-any.whl

Total release size: 24.4 kB

Release files / rstcheck-6.1.1.tar.gz

Download URL rstcheck-6.1.1.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8e43485a644e794b8127f8c4868ef62c14ec7919bdda6cb16642157055d32e47
BLAKE2b-256 checksum
How to use checksums
5dcdb86de2a72838f755ae7b23acce9630013686a01c27e6e77f89881fdbf98a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.8.10 Linux/5.4.0-131-generic

Release files / rstcheck-6.1.1-py3-none-any.whl

Download URL rstcheck-6.1.1-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
edeff9ad0644d12bd250100b677887424193789254c90d95c13375062ee2cbac
BLAKE2b-256 checksum
How to use checksums
21c11ef853f0bc58a0e1c2743818662ebb84ccdc56ac078bc222ee61fc711171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.8.10 Linux/5.4.0-131-generic

Security for rstcheck 6.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

6.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page