mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
* added status badges * updated github actions versions * Update README.md * Update README.md --------- Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com>
22 lines
475 B
YAML
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
|