Skip to content

Commit

Permalink
Fix baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
webjunkie committed Apr 4, 2024
1 parent a1b6b79 commit 94be894
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions mypy-baseline.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
posthog/temporal/common/utils.py:0: error: Argument 1 to "abstractclassmethod" has incompatible type "Callable[[HeartbeatDetails, Any], Any]"; expected "Callable[[type[Never], Any], Any]" [arg-type]
posthog/temporal/common/utils.py:0: note: This is likely because "from_activity" has named arguments: "cls". Consider marking them positional-only
posthog/temporal/common/utils.py:0: error: Argument 2 to "__get__" of "classmethod" has incompatible type "type[HeartbeatType]"; expected "type[Never]" [arg-type]
env/lib/python3.10/site-packages/snowflake/connector/converter.py:0: error: Library stubs not installed for "tzlocal" [import-untyped]
env/lib/python3.10/site-packages/snowflake/connector/converter.py:0: note: Hint: "python3 -m pip install types-tzlocal"
env/lib/python3.10/site-packages/snowflake/connector/converter.py:0: note: (or run "mypy --install-types" to install all missing stub packages)
env/lib/python3.10/site-packages/snowflake/connector/converter.py:0: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
env/lib/python3.10/site-packages/snowflake/connector/arrow_context.py:0: error: Library stubs not installed for "tzlocal" [import-untyped]
posthog/temporal/data_imports/pipelines/zendesk/talk_api.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment]
posthog/temporal/data_imports/pipelines/zendesk/helpers.py:0: error: Argument 1 to "ensure_pendulum_datetime" has incompatible type "DateTime | Date | datetime | date | str | float | int | None"; expected "DateTime | Date | datetime | date | str | float | int" [arg-type]
posthog/temporal/data_imports/pipelines/zendesk/helpers.py:0: error: Argument 1 to "ensure_pendulum_datetime" has incompatible type "str | None"; expected "DateTime | Date | datetime | date | str | float | int" [arg-type]
Expand Down Expand Up @@ -809,18 +804,6 @@ posthog/hogql/database/schema/test/test_channel_type.py:0: error: Value of type
posthog/hogql/database/schema/test/test_channel_type.py:0: error: Value of type "list[Any] | None" is not indexable [index]
posthog/hogql/database/schema/event_sessions.py:0: error: Statement is unreachable [unreachable]
posthog/api/organization_member.py:0: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases [misc]
posthog/api/fields.py:0: error: List item 0 has incompatible type "type[PydanticModelValidator]"; expected "Callable[[dict[str, Any] | list[dict[str, Any]]], None] | ContextValidator[dict[str, Any] | list[dict[str, Any]]]" [list-item]
posthog/api/fields.py:0: note: "PydanticModelValidator" is missing following "ContextValidator" protocol member:
posthog/api/fields.py:0: note: requires_context
posthog/api/fields.py:0: note: Following member(s) of "PydanticModelValidator" have conflicts:
posthog/api/fields.py:0: note: Expected:
posthog/api/fields.py:0: note: def __call__(dict[str, Any] | list[dict[str, Any]], Field[Any, Any, Any, Any], /) -> None
posthog/api/fields.py:0: note: Got:
posthog/api/fields.py:0: note: def __init__(model: Any) -> PydanticModelValidator
posthog/api/fields.py:0: note: Expected:
posthog/api/fields.py:0: note: def __call__(dict[str, Any] | list[dict[str, Any]], Field[Any, Any, Any, Any], /) -> None
posthog/api/fields.py:0: note: Got:
posthog/api/fields.py:0: note: def __init__(model: Any) -> PydanticModelValidator
ee/api/role.py:0: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases [misc]
ee/clickhouse/views/insights.py:0: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases [misc]
posthog/queries/trends/test/test_person.py:0: error: "str" has no attribute "get" [attr-defined]
Expand Down

0 comments on commit 94be894

Please sign in to comment.