✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)

This commit is contained in:
Sebastián Ramírez authored and GitHub committed 2020-12-20 19:50:00 +01:00
1 parent 4fdcdf341c
commit fdb6c9ccc5
43 files changed
+314 -244

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ app = FastAPI()
class Item(BaseModel):
name: str
age: condecimal(gt=Decimal(0.0))
age: condecimal(gt=Decimal(0.0)) # type: ignore
@app.post("/items/")