Skip to content

Commit

Permalink
Add PEP8 compliance check
Browse files Browse the repository at this point in the history
  • Loading branch information
emileferreira committed Jan 26, 2024
1 parent 6638324 commit 89b21be
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/test-python.yml → .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Python tests
name: Python
on: [push, workflow_dispatch, pull_request]
jobs:
build:
test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -18,3 +18,13 @@ jobs:
pip install antlr4-python3-runtime==4.9.1
- name: Run all the Python tests
run: python3 tests/test_all.py
pep8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: 'Run PEP8 check'
uses: quentinguidee/pep8-action@v1
with:
arguments: '--ignore=E121,E123,E126,E133,E226,E241,E242,E704,W503,W504,W505,W191'

0 comments on commit 89b21be

Please sign in to comment.