Skip to content

Commit

Permalink
New GitHub Action: lint-pep8radius.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AAClause committed Jul 31, 2020
1 parent 8a4a05c commit 7668cf1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lint-pep8radius.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint with pep8radius
on: [pull_request]

jobs:
run-linter:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: setup python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: install pep8radius
run: pip install --upgrade git+https://github.com/hayd/pep8radius.git
- name: run pep8radius
run: pep8radius 46ba139a --docformatter
- name: run pep8radius 2
run: pep8radius formattings --docformatter
- name: run pep8radius 3
run: pep8radius master --docformatter

0 comments on commit 7668cf1

Please sign in to comment.