Skip to content

Let CI only run on push. #16

Let CI only run on push.

Let CI only run on push. #16

Workflow file for this run

name: flake8
on: [push]
jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install flake8
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Analysing the code with flake8
run: flake8 --select=W504 --ignore=E203,W503 --max-line-length=120 $(git ls-files '*.py')