Skip to content

Add Flake8 and Black configuration files for code linting #1

Add Flake8 and Black configuration files for code linting

Add Flake8 and Black configuration files for code linting #1

Workflow file for this run

name: Lint Code with Flake8
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
pip install -r requirements.txt
- name: Run Flake8
run: |
flake8 app/