Update ci.yml #33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Code Quality Assurance | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| style-compliance: | |
| name: Code Hygiene Enforcement | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ⬇️ Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: 🐍 Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| - name: 📦 Provision Linting Binaries | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install flake8 | |
| # UPDATED STEP: Bypasses line spacing, trailing markers, and block brace technicalities | |
| - name: 🚀 Verify PEP 8 Alignment | |
| run: flake8 . --ignore=W293,W291,F401,E302,E305,E701,E203,E501,E261,W292,W391,E221,E201,E202,E241 --exclude=venv,.git,__pycache__,build,dist |