Skip to content

Initial framework

Initial framework #449

Workflow file for this run

name: Lint
on:
workflow_call:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
black:
runs-on: ubuntu-latest
name: Black
steps:
- name: Check out source
uses: actions/checkout@v3
- name: Run black formatter
uses: psf/black@stable
with:
options: "--check --verbose"
src: "app/ config/django/"
flake8:
runs-on: ubuntu-latest
name: Flake8
steps:
- name: Check out source
uses: actions/checkout@v3
- name: Set up Python 3.11.4
uses: actions/setup-python@v4
with:
python-version: 3.11.4
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
path: "app/ config/django/"
args: "-v"
plugins: "flake8-black"