Skip to content

Update pre-commit

Update pre-commit #55

Workflow file for this run

name: Lint with Black and flake8
on:
push:
branches:
- main
paths-ignore:
- "docs/**"
- ".github/**"
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Lint with Black
uses: psf/black@stable
with:
args: ". --check"
- name: Install dependencies
run: |
pip install -U flake8
- name: Lint with flake8
run: |
flake8 --verbose asgi_middleware_static_file