File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 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]
Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/pre-commit/pygrep-hooks
3+ rev : v1.7.1
4+ hooks :
5+ - id : rst-backticks
6+ - id : rst-inline-touching-normal
Original file line number Diff line number Diff line change @@ -53,3 +53,7 @@ package: all rss
5353 cp * .png build/peps/
5454 cp * .rss build/peps/
5555 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
You can’t perform that action at this time.
0 commit comments