/pre-commit-hooks-markup

Hooks for pre-commit that validate Markdown / RST files

Primary LanguagePythonMIT LicenseMIT

build status Known Vulnerabilities

Hooks for pre-commit that validate Markdown / RST files

Usage

- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
  rev: v1.0.1
  hooks:
  - id: rst-linter

To enable the .. raw:: directive, you can add:

  - id: rst-linter
    args: [--allow-raw]

Note that this is a potential security hole, and will prevent rendering of the README.rst file on PyPI. See docutils documentation and Python Packaging User Guide for more information.