mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-24 20:47:54 +00:00
Add pyright strict type checking
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
# pyright: reportGeneralTypeIssues=false
|
||||
from typing import Dict, Optional
|
||||
|
||||
import pendulum
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# pyright: reportGeneralTypeIssues=false
|
||||
import time
|
||||
|
||||
import pendulum
|
||||
@@ -87,4 +88,4 @@ async def startup():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run("main:app", debug=True, reload=True)
|
||||
uvicorn.run("main:app", reload=True)
|
||||
|
||||
Reference in New Issue
Block a user