Skip to content

build: ๐Ÿ›  Update pre-commit hooks #15

build: ๐Ÿ›  Update pre-commit hooks

build: ๐Ÿ›  Update pre-commit hooks #15

Workflow file for this run

name: "LINT: Run ruff & mypy"
on: [push, pull_request]
jobs:
flake8-and-mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade poetry
poetry install
- name: Lint with ruff & mypy
run: |
poetry run ruff check fastapi_module_loader tests
poetry run mypy fastapi_module_loader