Skip to content

Commit

Permalink
Run flake8 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Aug 20, 2020
1 parent 4591726 commit 2d23e8a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Static Analysis
on: [push, pull_request]
jobs:
python-linting:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2

- name: set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8

- name: install Python packages
run: |
pip install --upgrade pip
pip install --upgrade flake8
- name: Run flake8 to verify PEP8-compliance of Python code
run: flake8 -j3

0 comments on commit 2d23e8a

Please sign in to comment.