Skip to content

Commit 1c1c528

Browse files
committed
mypy sync
1 parent 3ca6019 commit 1c1c528

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

mypy-baseline.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,20 @@ posthog/client.py:0: error: Library stubs not installed for "six" [import-untyp
2222
posthog/client.py:0: note: Hint: "python3 -m pip install types-six"
2323
posthog/client.py:0: error: Name "queue" already defined (by an import) [no-redef]
2424
posthog/client.py:0: error: Need type annotation for "queue" [var-annotated]
25-
posthog/client.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
25+
posthog/client.py:0: error: Incompatible types in assignment (expression has type "Any | list[Any]", variable has type "None") [assignment]
26+
posthog/client.py:0: error: Incompatible types in assignment (expression has type "dict[Any, Any]", variable has type "None") [assignment]
27+
posthog/client.py:0: error: "None" has no attribute "__iter__" (not iterable) [attr-defined]
28+
posthog/client.py:0: error: Statement is unreachable [unreachable]
29+
posthog/client.py:0: error: Incompatible types in assignment (expression has type "Any | dict[Any, Any]", variable has type "None") [assignment]
30+
posthog/client.py:0: error: Incompatible types in assignment (expression has type "Any | dict[Any, Any]", variable has type "None") [assignment]
31+
posthog/client.py:0: error: Incompatible types in assignment (expression has type "dict[Never, Never]", variable has type "None") [assignment]
32+
posthog/client.py:0: error: Incompatible types in assignment (expression has type "dict[Never, Never]", variable has type "None") [assignment]
33+
posthog/client.py:0: error: Right operand of "and" is never evaluated [unreachable]
34+
posthog/client.py:0: error: Incompatible types in assignment (expression has type "Poller", variable has type "None") [assignment]
35+
posthog/client.py:0: error: "None" has no attribute "start" [attr-defined]
36+
posthog/client.py:0: error: "None" has no attribute "get" [attr-defined]
37+
posthog/client.py:0: error: Statement is unreachable [unreachable]
38+
posthog/client.py:0: error: Statement is unreachable [unreachable]
2639
example.py:0: error: Statement is unreachable [unreachable]
2740
posthog/ai/utils.py:0: error: Need type annotation for "output" (hint: "output: list[<type>] = ...") [var-annotated]
2841
posthog/ai/utils.py:0: error: Function "builtins.any" is not valid as a type [valid-type]

0 commit comments

Comments
 (0)