Skip to content

Commit 4ef5f03

Browse files
committed
chore: add type ignore in settings call args
1 parent 02fb3d1 commit 4ef5f03

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

app/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
from fastapi import FastAPI
44
from fastapi.exceptions import RequestValidationError
5-
from slowapi import _rate_limit_exceeded_handler
6-
from slowapi.errors import RateLimitExceeded
75
from starlette.exceptions import HTTPException
86
from starlette.middleware.cors import CORSMiddleware
97

app/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Settings(BaseSettings):
3737

3838
@lru_cache
3939
def get_settings() -> Settings:
40-
return Settings()
40+
return Settings() # type: ignore[call-arg]
4141

4242

4343
settings: Settings = get_settings()

0 commit comments

Comments
 (0)