summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 761abf28eae007b30b3c620bfe5ccb701f913362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:

-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v3.2.0
    hooks:
    -   id: check-added-large-files
    -   id: trailing-whitespace
        exclude: ^(sandbox|docutils/docs)|(.el|.svg|.tex|pseudoxml.txt|test_manpage.py)$
    -   id: end-of-file-fixer
        exclude: ^sandbox|(.svg)|docutils/test/data/utf-16-le-sig.txt$

-   repo: https://github.com/pycqa/flake8
    rev: 5.0.4  # Docutils' ``.flake8`` configuration files do not work with Flake8 >=6
    hooks:
    -   id: flake8