We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f091c5 commit 7ccc045Copy full SHA for 7ccc045
.github/workflows/lint.yml
@@ -0,0 +1,11 @@
1
+name: Lint
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ pre-commit:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - uses: actions/setup-python@v2
11
+ - uses: pre-commit/[email protected]
.pre-commit-config.yaml
@@ -0,0 +1,6 @@
+repos:
+ - repo: https://github.com/pre-commit/pygrep-hooks
+ rev: v1.7.1
+ hooks:
+ - id: rst-backticks
+ - id: rst-inline-touching-normal
Makefile
@@ -53,3 +53,7 @@ package: all rss
53
cp *.png build/peps/
54
cp *.rss build/peps/
55
tar -C build -czf build/peps.tar.gz peps
56
57
+lint:
58
+ pre-commit --version > /dev/null || python3 -m pip install pre-commit
59
+ pre-commit run --all-files
0 commit comments