From ccb2af5594e98b4b85133243abda192f1cf91e90 Mon Sep 17 00:00:00 2001 From: mslaursen <82436992+mslaursen@users.noreply.github.com> Date: Sat, 18 Oct 2025 22:37:52 +0200 Subject: [PATCH 1/2] Update conftest.py --- tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/conftest.py b/tests/conftest.py index adcb77d..fe064cd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -10,4 +10,5 @@ def clear_enum_registry() -> None: @pytest.fixture def type_info_registry() -> TypeInfoRegistry: + """Test.""" return TypeInfoRegistry() From 87ad0b101d843cf916a19ec5704751b99ae9955a Mon Sep 17 00:00:00 2001 From: mslaursen <82436992+mslaursen@users.noreply.github.com> Date: Sat, 18 Oct 2025 22:40:03 +0200 Subject: [PATCH 2/2] Update auth_dependencies.py --- .../dependencies/auth_dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi_forge/template/{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/dependencies/auth_dependencies.py b/fastapi_forge/template/{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/dependencies/auth_dependencies.py index a1f1829..a4ae51b 100644 --- a/fastapi_forge/template/{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/dependencies/auth_dependencies.py +++ b/fastapi_forge/template/{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/dependencies/auth_dependencies.py @@ -16,7 +16,7 @@ class HTTPBearer(_HTTPBearer): Returns access token as str. """ - async def __call__(self, request: Request) -> str | None: # type: ignore + async def __call__(self, request: Request) -> str | None: """Return access token.""" try: obj = await super().__call__(request)