Skip to content

Add PEP8 compliance check #1

Add PEP8 compliance check

Add PEP8 compliance check #1

Workflow file for this run

name: Python
on: [push, workflow_dispatch, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
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:

Check failure on line 25 in .github/workflows/python.yml

View workflow run for this annotation

GitHub Actions / Python

Invalid workflow file

The workflow is not valid. .github/workflows/python.yml (Line: 25, Col: 14): Unexpected value '' .github/workflows/python.yml (Line: 26, Col: 9): Unexpected value 'ref'
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'