Skip to content

Commit 3ea56e9

Browse files
committed
Update the baseline
1 parent f3cd89f commit 3ea56e9

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

mypy-baseline.txt

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,18 @@ setup_analytics.py:0: error: Incompatible import of "setup" (imported name has t
88
setup_analytics.py:0: error: Cannot find implementation or library stub for module named "version" [import-not-found]
99
setup.py:0: error: Incompatible import of "setup" (imported name has type "Callable[[DefaultNamedArg(str, 'name'), DefaultNamedArg(str, 'version'), DefaultNamedArg(str, 'description'), DefaultNamedArg(str, 'long_description'), DefaultNamedArg(str, 'author'), DefaultNamedArg(str, 'author_email'), DefaultNamedArg(str, 'maintainer'), DefaultNamedArg(str, 'maintainer_email'), DefaultNamedArg(str, 'url'), DefaultNamedArg(str, 'download_url'), DefaultNamedArg(list[str], 'packages'), DefaultNamedArg(list[str], 'py_modules'), DefaultNamedArg(list[str], 'scripts'), DefaultNamedArg(list[distutils.extension.Extension], 'ext_modules'), DefaultNamedArg(list[str], 'classifiers'), DefaultNamedArg(type[distutils.dist.Distribution], 'distclass'), DefaultNamedArg(str, 'script_name'), DefaultNamedArg(list[str], 'script_args'), DefaultNamedArg(Mapping[str, Any], 'options'), DefaultNamedArg(str, 'license'), DefaultNamedArg(list[str] | str, 'keywords'), DefaultNamedArg(list[str] | str, 'platforms'), DefaultNamedArg(Mapping[str, type[distutils.cmd.Command]], 'cmdclass'), DefaultNamedArg(list[tuple[str, list[str]]], 'data_files'), DefaultNamedArg(Mapping[str, str], 'package_dir'), DefaultNamedArg(list[str], 'obsoletes'), DefaultNamedArg(list[str], 'provides'), DefaultNamedArg(list[str], 'requires'), DefaultNamedArg(list[str], 'command_packages'), DefaultNamedArg(Mapping[str, Mapping[str, tuple[Any, Any]]], 'command_options'), DefaultNamedArg(Mapping[str, list[str]], 'package_data'), DefaultNamedArg(Literal[0, 1] | bool, 'include_package_data'), DefaultNamedArg(list[str], 'libraries'), DefaultNamedArg(list[str], 'headers'), DefaultNamedArg(str, 'ext_package'), DefaultNamedArg(list[str], 'include_dirs'), DefaultNamedArg(str, 'password'), DefaultNamedArg(str, 'fullname'), KwArg(Any)], distutils.dist.Distribution]", local name has type "Callable[[DefaultNamedArg(str, 'name'), DefaultNamedArg(str, 'version'), DefaultNamedArg(str, 'description'), DefaultNamedArg(str, 'long_description'), DefaultNamedArg(str, 'long_description_content_type'), DefaultNamedArg(str, 'author'), DefaultNamedArg(str, 'author_email'), DefaultNamedArg(str, 'maintainer'), DefaultNamedArg(str, 'maintainer_email'), DefaultNamedArg(str, 'url'), DefaultNamedArg(str, 'download_url'), DefaultNamedArg(list[str], 'packages'), DefaultNamedArg(list[str], 'py_modules'), DefaultNamedArg(list[str], 'scripts'), DefaultNamedArg(Sequence[setuptools.extension.Extension], 'ext_modules'), DefaultNamedArg(list[str], 'classifiers'), DefaultNamedArg(type[setuptools.dist.Distribution], 'distclass'), DefaultNamedArg(str, 'script_name'), DefaultNamedArg(list[str], 'script_args'), DefaultNamedArg(Mapping[str, Any], 'options'), DefaultNamedArg(str, 'license'), DefaultNamedArg(list[str] | str, 'keywords'), DefaultNamedArg(list[str] | str, 'platforms'), DefaultNamedArg(Mapping[str, type[setuptools._distutils.cmd.Command]], 'cmdclass'), DefaultNamedArg(list[tuple[str, list[str]]], 'data_files'), DefaultNamedArg(Mapping[str, str], 'package_dir'), DefaultNamedArg(list[str], 'obsoletes'), DefaultNamedArg(list[str], 'provides'), DefaultNamedArg(list[str], 'requires'), DefaultNamedArg(list[str], 'command_packages'), DefaultNamedArg(Mapping[str, Mapping[str, tuple[Any, Any]]], 'command_options'), DefaultNamedArg(Mapping[str, list[str]], 'package_data'), DefaultNamedArg(bool, 'include_package_data'), DefaultNamedArg(list[tuple[str, _BuildInfo]], 'libraries'), DefaultNamedArg(list[str], 'headers'), DefaultNamedArg(str, 'ext_package'), DefaultNamedArg(list[str], 'include_dirs'), DefaultNamedArg(str, 'password'), DefaultNamedArg(str, 'fullname'), KwArg(Any)], setuptools.dist.Distribution]") [assignment]
1010
setup.py:0: error: Cannot find implementation or library stub for module named "version" [import-not-found]
11+
posthog/sentry/django.py:0: error: Function is missing a type annotation [no-untyped-def]
12+
posthog/sentry/django.py:0: error: Function is missing a type annotation [no-untyped-def]
13+
posthog/sentry/django.py:0: error: Function is missing a type annotation [no-untyped-def]
1114
sentry_django_example/manage.py:0: error: Function is missing a return type annotation [no-untyped-def]
1215
sentry_django_example/manage.py:0: note: Use "-> None" if function does not return a value
16+
posthog/exception_integrations/django.py:0: error: Function is missing a type annotation [no-untyped-def]
17+
posthog/exception_integrations/django.py:0: error: Incompatible default for argument "request" (default has type "None", argument has type "WSGIRequest") [assignment]
18+
posthog/exception_integrations/django.py:0: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
19+
posthog/exception_integrations/django.py:0: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
20+
posthog/exception_integrations/django.py:0: error: Function is missing a return type annotation [no-untyped-def]
21+
posthog/exception_integrations/django.py:0: note: Use "-> None" if function does not return a value
22+
posthog/exception_integrations/django.py:0: error: Function is missing a return type annotation [no-untyped-def]
1323
posthog/utils.py:0: error: Function is missing a type annotation [no-untyped-def]
1424
posthog/utils.py:0: error: Function is missing a type annotation [no-untyped-def]
1525
posthog/utils.py:0: error: Function is missing a type annotation [no-untyped-def]
@@ -25,16 +35,6 @@ posthog/utils.py:0: error: Function is missing a type annotation [no-untyped-de
2535
posthog/utils.py:0: error: Function is missing a type annotation [no-untyped-def]
2636
posthog/utils.py:0: error: Function is missing a type annotation [no-untyped-def]
2737
posthog/utils.py:0: error: Function is missing a type annotation [no-untyped-def]
28-
posthog/sentry/django.py:0: error: Function is missing a type annotation [no-untyped-def]
29-
posthog/sentry/django.py:0: error: Function is missing a type annotation [no-untyped-def]
30-
posthog/sentry/django.py:0: error: Function is missing a type annotation [no-untyped-def]
31-
posthog/exception_integrations/django.py:0: error: Function is missing a type annotation [no-untyped-def]
32-
posthog/exception_integrations/django.py:0: error: Incompatible default for argument "request" (default has type "None", argument has type "WSGIRequest") [assignment]
33-
posthog/exception_integrations/django.py:0: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
34-
posthog/exception_integrations/django.py:0: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
35-
posthog/exception_integrations/django.py:0: error: Function is missing a return type annotation [no-untyped-def]
36-
posthog/exception_integrations/django.py:0: note: Use "-> None" if function does not return a value
37-
posthog/exception_integrations/django.py:0: error: Function is missing a return type annotation [no-untyped-def]
3838
posthog/request.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
3939
posthog/request.py:0: error: Incompatible types in assignment (expression has type "bytes", variable has type "str") [assignment]
4040
posthog/request.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
@@ -288,19 +288,31 @@ llm_observability_examples.py:0: error: Function is missing a return type annota
288288
llm_observability_examples.py:0: error: Function is missing a return type annotation [no-untyped-def]
289289
llm_observability_examples.py:0: error: Function is missing a type annotation [no-untyped-def]
290290
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_distinct_id" for "create" of "Embeddings" [call-arg]
291+
env/lib/python3.11/site-packages/openai/resources/embeddings.py:0: note: "create" of "Embeddings" defined here
291292
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_trace_id" for "create" of "Embeddings" [call-arg]
293+
env/lib/python3.11/site-packages/openai/resources/embeddings.py:0: note: "create" of "Embeddings" defined here
292294
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_properties" for "create" of "Embeddings" [call-arg]
295+
env/lib/python3.11/site-packages/openai/resources/embeddings.py:0: note: "create" of "Embeddings" defined here
293296
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_groups" for "create" of "Embeddings" [call-arg]
297+
env/lib/python3.11/site-packages/openai/resources/embeddings.py:0: note: "create" of "Embeddings" defined here
294298
llm_observability_examples.py:0: error: Function is missing a type annotation [no-untyped-def]
295299
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_distinct_id" for "create" of "AsyncEmbeddings" [call-arg]
300+
env/lib/python3.11/site-packages/openai/resources/embeddings.py:0: note: "create" of "AsyncEmbeddings" defined here
296301
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_trace_id" for "create" of "AsyncEmbeddings" [call-arg]
302+
env/lib/python3.11/site-packages/openai/resources/embeddings.py:0: note: "create" of "AsyncEmbeddings" defined here
297303
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_properties" for "create" of "AsyncEmbeddings" [call-arg]
304+
env/lib/python3.11/site-packages/openai/resources/embeddings.py:0: note: "create" of "AsyncEmbeddings" defined here
298305
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_groups" for "create" of "AsyncEmbeddings" [call-arg]
306+
env/lib/python3.11/site-packages/openai/resources/embeddings.py:0: note: "create" of "AsyncEmbeddings" defined here
299307
llm_observability_examples.py:0: error: Function is missing a type annotation [no-untyped-def]
300308
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_distinct_id" for "parse" of "Completions" [call-arg]
309+
env/lib/python3.11/site-packages/openai/resources/beta/chat/completions.py:0: note: "parse" of "Completions" defined here
301310
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_trace_id" for "parse" of "Completions" [call-arg]
311+
env/lib/python3.11/site-packages/openai/resources/beta/chat/completions.py:0: note: "parse" of "Completions" defined here
302312
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_properties" for "parse" of "Completions" [call-arg]
313+
env/lib/python3.11/site-packages/openai/resources/beta/chat/completions.py:0: note: "parse" of "Completions" defined here
303314
llm_observability_examples.py:0: error: Unexpected keyword argument "posthog_groups" for "parse" of "Completions" [call-arg]
315+
env/lib/python3.11/site-packages/openai/resources/beta/chat/completions.py:0: note: "parse" of "Completions" defined here
304316
posthog/ai/langchain/callbacks.py:0: error: Function is missing a return type annotation [no-untyped-def]
305317
posthog/ai/langchain/callbacks.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
306318
posthog/ai/langchain/callbacks.py:0: error: Function is missing a return type annotation [no-untyped-def]

0 commit comments

Comments
 (0)