-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (25 loc) · 845 Bytes
/
Copy pathci.yml
File metadata and controls
31 lines (25 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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