File tree Expand file tree Collapse file tree
adapters/inbound/http/routes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ py_version = 314
4545
4646[tool .mypy ]
4747python_version = " 3.14"
48+ mypy_path = [" src" ]
49+ explicit_package_bases = true
4850warn_unused_configs = true
4951check_untyped_defs = true
5052disallow_incomplete_defs = true
Original file line number Diff line number Diff line change 11"""Root, documentation, and API explorer routes."""
22
33from fastapi import APIRouter , Request
4- from fastapi .openapi .docs import get_scalar_api_reference
4+ from fastapi .openapi .docs import ( # type: ignore[attr-defined]
5+ get_scalar_api_reference ,
6+ )
57from fastapi .responses import HTMLResponse
68
79router = APIRouter (include_in_schema = False )
Original file line number Diff line number Diff line change 11"""FastAPI application factory for the Usuarios API."""
22
3- from fastapi import FastAPI
43import uvicorn
4+ from fastapi import FastAPI
55
66from adapters .inbound .http .routes .health import router as health_router
77from adapters .inbound .http .routes .root import router as root_router
Original file line number Diff line number Diff line change 11"""Pytest configuration and shared fixtures for the test suite."""
22
3- from pathlib import Path
43import sys
5-
4+ from pathlib import Path
65
76PROJECT_SRC = Path (__file__ ).resolve ().parents [1 ] / "src"
87
You can’t perform that action at this time.
0 commit comments