PEP-8: Add github action for pep8

This commit is contained in:
Ben Busby 2020-12-17 15:45:53 -05:00
parent 2533b7f9b7
commit 9db8ff5186
No known key found for this signature in database
GPG Key ID: 3B08611DF6E62ED2

22
.github/workflows/pep8.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: pep8
on:
push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pycodestyle
- name: Run pycodestyle
run: |
pycodestyle --show-source --show-pep8 app/*
pycodestyle --show-source --show-pep8 test/*