summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2018-05-24 14:17:09 +0200
committerRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2018-05-24 14:17:09 +0200
commitdf17bb2bd38a1f40bbd748c9cc7ae2c4b864949c (patch)
treea1d40ff193fe8e942c11faad8b28c54568ad70b2 /.pre-commit-config.yaml
parent6eb7af5a4edaae0d4b8afcd946f1671c9deffe0f (diff)
downloadpytest-df17bb2bd38a1f40bbd748c9cc7ae2c4b864949c.tar.gz
switch linting tox env to use pre-commit, clean out travis linting env as unneeded
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4f3b33089..bb45976f1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -19,3 +19,11 @@ repos:
rev: v1.2.0
hooks:
- id: pyupgrade
+- repo: local
+ hooks:
+ - id: rst
+ name: rst
+ entry: python scripts/check-rst.py
+ language: python
+ additional_dependencies: [pygments, restructuredtext_lint]
+ python_version: python3.6