Skip to content

Lucas-C/pre-commit-hooks-markup

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Hooks for pre-commit that validate Markdown / RST files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages