Files
LLMs-from-scratch/.github/workflows/pep8-linter.yml
Daniel Kleine a6bd197897 updated github actions versions (#96)
* added status badges

* updated github actions versions

* Update README.md

* Update README.md

---------

Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com>
2024-03-31 10:49:12 -05:00

22 lines
475 B
YAML

name: Python PEP8 Linting
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install flake8
run: pip install flake8
- name: Run flake8 with exceptions
run: flake8 . --max-line-length=140 --ignore=W504,E402,E731,C406,E741,E722,E226