Skip to content

refact(backend-lifespan): improving type checking and incorporating lifespan as an alternative to on_event #800

refact(backend-lifespan): improving type checking and incorporating lifespan as an alternative to on_event

refact(backend-lifespan): improving type checking and incorporating lifespan as an alternative to on_event #800

Workflow file for this run

name: Lint
on:
push:
branches: [ "master" ]
paths:
- 'app/**'
pull_request:
branches: [ "master" ]
paths:
- 'app/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: black
uses: psf/black@stable
with:
options: "--check --verbose"
src: "./app"
- name: Set up Python 3.11.2
uses: actions/setup-python@v3
with:
python-version: 3.11.2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install -r requirements.txt
- name: Lint with pylint
run: |
pylint --exit-zero "$(git ls-files '*.py')"