Skip to content

fix: avoid passgenerator pipe warning #49

fix: avoid passgenerator pipe warning

fix: avoid passgenerator pipe warning #49

Workflow file for this run

name: Lint
on:
push:
branches: ['**']
pull_request:
branches: [master]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: pip install flake8
- name: Run flake8
run: |
# Run strict lint on tests (must pass)
flake8 tests/ --max-line-length=120 --exclude=__pycache__
# Run lint on src with exit-zero (report only, doesn't fail build)
# TODO: Fix existing src/ issues and remove --exit-zero
flake8 src/ --max-line-length=120 --exclude=__pycache__ --exit-zero
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck on bin scripts
uses: ludeeus/action-shellcheck@master
with:
scandir: './bin'
severity: warning
- name: Run ShellCheck on scripts
uses: ludeeus/action-shellcheck@master
with:
scandir: './scripts'
severity: warning