Skip to content

Commit 7668cf1

Browse files
committed
New GitHub Action: lint-pep8radius.yml
1 parent 8a4a05c commit 7668cf1

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint with pep8radius
2+
on: [pull_request]
3+
4+
jobs:
5+
run-linter:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: checkout repository
9+
uses: actions/checkout@v2
10+
with:
11+
fetch-depth: 0
12+
- name: setup python
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: 3.7
16+
- name: install pep8radius
17+
run: pip install --upgrade git+https://github.com/hayd/pep8radius.git
18+
- name: run pep8radius
19+
run: pep8radius 46ba139a --docformatter
20+
- name: run pep8radius 2
21+
run: pep8radius formattings --docformatter
22+
- name: run pep8radius 3
23+
run: pep8radius master --docformatter

0 commit comments

Comments
 (0)