Skip to content

Commit 915566d

Browse files
committed
chore: tighten mypy baseline after IPRateLimit TypedDict
1 parent 22a3285 commit 915566d

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎scripts/mypy-baseline.txt‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ apps/base/auth.py: error: If x = b'abc' then f"{x}" or "{}".format(x) produces "
1111
apps/base/auth.py: error: Incompatible types in assignment (expression has type "str", variable has type "bytes") [assignment]
1212
apps/base/config.py: error: Incompatible types in assignment (expression has type "dict[str, Any]", variable has type "str | None") [assignment]
1313
apps/base/config.py: error: Unpacked dict entry 1 has incompatible type "str | dict[str, object]"; expected "SupportsKeysAndGetItem[str, object]" [dict-item]
14-
apps/base/dependencies.py: error: Incompatible return value type (got "int | datetime", expected "int") [return-value]
15-
apps/base/dependencies.py: error: Unsupported operand types for + ("datetime" and "int") [operator]
16-
apps/base/dependencies.py: error: Unsupported operand types for + ("int" and "timedelta") [operator]
17-
apps/base/dependencies.py: error: Unsupported operand types for >= ("datetime" and "int") [operator]
1814
apps/base/models.py: error: Incompatible types in assignment (expression has type "CharField", variable has type "str | None") [assignment]
1915
apps/base/models.py: error: Incompatible types in assignment (expression has type "JSONField[Never]", variable has type "str | None") [assignment]
2016
apps/base/services.py: error: "object" not callable [operator]

0 commit comments

Comments
 (0)