Files
analyzeOSDs/.gitea/workflows/lint.yml
T
jared fc5ced6315
Lint / Python (flake8) (push) Successful in 2m11s
Security / Python Security (bandit) (push) Successful in 1m13s
Fix CI: install flake8/bandit with --break-system-packages; make scripts lint-clean
The previous attempt used a sed pattern with the wrong indentation and changed nothing. Both
workflows now pass the flag (verified in the diff). render_terminal.py is reformatted to satisfy flake8.
2026-10-03 16:58:52 -04:00

25 lines
555 B
YAML

name: Lint
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
python-lint:
name: Python (flake8)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python and flake8
run: |
apt-get update -qq
apt-get install -y -qq python3 python3-pip
# Debian's Python is externally managed (PEP 668); the runner is ephemeral.
pip3 install --break-system-packages flake8
- name: Run flake8
run: flake8 . --exclude=__pycache__,.git