Skip to content

Update students.student.attendee.component.js #187

Update students.student.attendee.component.js

Update students.student.attendee.component.js #187

Workflow file for this run

name: flake8
on: [push, workflow_dispatch, pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
MANUAL_DATABASE_URL: ${{ secrets.MANUAL_DATABASE_URL }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
SECRET: ${{ secrets.SECRET }}
wkhtmltopdf: ${{ secrets.wkhtmltopdf }}
ENVIRONMENT: ${{ secrets.ENVIRONMENT }}
RECAPTCHA: ${{ secrets.RECAPTCHA }}
EMAIL_DEBUGGING_MODE: ${{ secrets.EMAIL_DEBUGGING_MODE }}
SMTP_BULK_PASSWORD: ${{ secrets.SMTP_BULK_PASSWORD }}
SMTP_BULK_USER: ${{ secrets.SMTP_BULK_USER }}
SMTP_BULK_DOMAIN: ${{ secrets.SMTP_BULK_DOMAIN }}
SMTP_DOMAIN: ${{ secrets.SMTP_DOMAIN }}
SMTP_USER: ${{ secrets.SMTP_USER }}
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics