Skip to content

fix: resolve flake8 errors in saxion-eduroam.py #3

fix: resolve flake8 errors in saxion-eduroam.py

fix: resolve flake8 errors in saxion-eduroam.py #3

Workflow file for this run

name: Python Checks
on:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
schedule:
- cron: '0 5 * * 0'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.14'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 bandit
- name: Lint with flake8
run: flake8 static/scripts/saxion-eduroam.py --max-line-length=120
- name: Security scan with bandit
run: bandit -r static/scripts/saxion-eduroam.py