From 88a6570fec5d5f0c306c0a18503ce25839a115f8 Mon Sep 17 00:00:00 2001 From: Youri Westerman Date: Mon, 23 Oct 2023 11:21:10 +0200 Subject: [PATCH 1/2] Update dependencies --- app/requirements/requirements.txt | 20 ++++++++-------- app/requirements/requirements_dev.txt | 32 +++++++++++++------------- app/requirements/requirements_test.txt | 32 +++++++++++++------------- 3 files changed, 42 insertions(+), 42 deletions(-) diff --git a/app/requirements/requirements.txt b/app/requirements/requirements.txt index a2b1c61e8..215bbe5c1 100644 --- a/app/requirements/requirements.txt +++ b/app/requirements/requirements.txt @@ -16,7 +16,7 @@ attrs==23.1.0 # referencing autopep8==2.0.4 # via django-silk -azure-core==1.29.4 +azure-core==1.29.5 # via # azure-identity # azure-storage-blob @@ -55,7 +55,7 @@ cffi==1.16.0 # cairocffi # cryptography # weasyprint -charset-normalizer==3.3.0 +charset-normalizer==3.3.1 # via requests click==8.1.7 # via @@ -129,7 +129,7 @@ django-filter==23.3 # via -r requirements/requirements.in django-fsm==2.8.1 # via -r requirements/requirements.in -django-markdownx==4.0.2 +django-markdownx==4.0.5 # via -r requirements/requirements.in django-o365mail==1.1.0 # via -r requirements/requirements.in @@ -173,7 +173,7 @@ google-api-core==2.12.0 # via opencensus google-auth==2.23.3 # via google-api-core -googleapis-common-protos==1.60.0 +googleapis-common-protos==1.61.0 # via google-api-core gprof2dot==2022.7.29 # via django-silk @@ -211,7 +211,7 @@ msal==1.24.1 # msal-extensions msal-extensions==1.0.0 # via azure-identity -networkx==3.1 +networkx==3.2 # via -r requirements/requirements.in o365==2.0.31 # via django-o365mail @@ -226,7 +226,7 @@ opencensus==0.11.3 # opencensus-ext-requests opencensus-context==0.1.3 # via opencensus -opencensus-ext-azure==1.1.10 +opencensus-ext-azure==1.1.11 # via -r requirements/requirements.in opencensus-ext-django==0.8.0 # via -r requirements/requirements.in @@ -236,7 +236,7 @@ opencensus-ext-postgresql==0.1.3 # via -r requirements/requirements.in opencensus-ext-requests==0.8.0 # via -r requirements/requirements.in -pillow==10.0.1 +pillow==10.1.0 # via # -r requirements/requirements.in # cairosvg @@ -252,7 +252,7 @@ protobuf==4.24.4 # via # google-api-core # googleapis-common-protos -psutil==5.9.5 +psutil==5.9.6 # via opencensus-ext-azure psycopg2-binary==2.9.9 # via @@ -264,7 +264,7 @@ pyasn1==0.5.0 # rsa pyasn1-modules==0.3.0 # via google-auth -pycodestyle==2.11.0 +pycodestyle==2.11.1 # via autopep8 pycparser==2.21 # via cffi @@ -360,7 +360,7 @@ unicodecsv==0.14.1 # via djangorestframework-csv uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.17 +urllib3==1.26.18 # via # elasticsearch # requests diff --git a/app/requirements/requirements_dev.txt b/app/requirements/requirements_dev.txt index f53512296..388cb5f90 100644 --- a/app/requirements/requirements_dev.txt +++ b/app/requirements/requirements_dev.txt @@ -26,7 +26,7 @@ autopep8==2.0.4 # via # -r requirements/requirements_test.txt # django-silk -azure-core==1.29.4 +azure-core==1.29.5 # via # -r requirements/requirements_test.txt # azure-identity @@ -82,7 +82,7 @@ chardet==5.2.0 # via # -r requirements/requirements_test.txt # tox -charset-normalizer==3.3.0 +charset-normalizer==3.3.1 # via # -r requirements/requirements_test.txt # requests @@ -193,7 +193,7 @@ django-filter-stubs==0.1.3 # via -r requirements/requirements_test.txt django-fsm==2.8.1 # via -r requirements/requirements_test.txt -django-markdownx==4.0.2 +django-markdownx==4.0.5 # via -r requirements/requirements_test.txt django-o365mail==1.1.0 # via -r requirements/requirements_test.txt @@ -201,12 +201,12 @@ django-silk==5.0.4 # via -r requirements/requirements_test.txt django-storages==1.14.2 # via -r requirements/requirements_test.txt -django-stubs[compatible-mypy]==4.2.4 +django-stubs[compatible-mypy]==4.2.5 # via # -r requirements/requirements_test.txt # django-filter-stubs # djangorestframework-stubs -django-stubs-ext==4.2.2 +django-stubs-ext==4.2.5 # via # -r requirements/requirements_test.txt # django-stubs @@ -228,7 +228,7 @@ djangorestframework-csv==2.1.1 # drf-amsterdam djangorestframework-gis==1.0 # via -r requirements/requirements_test.txt -djangorestframework-stubs[compatible-mypy]==3.14.3 +djangorestframework-stubs[compatible-mypy]==3.14.4 # via # -r requirements/requirements_test.txt # django-filter-stubs @@ -262,7 +262,7 @@ factory-boy==3.3.0 # via # -r requirements/requirements_test.txt # types-factory-boy -faker==19.10.0 +faker==19.11.0 # via # -r requirements/requirements_test.txt # factory-boy @@ -285,7 +285,7 @@ google-auth==2.23.3 # via # -r requirements/requirements_test.txt # google-api-core -googleapis-common-protos==1.60.0 +googleapis-common-protos==1.61.0 # via # -r requirements/requirements_test.txt # google-api-core @@ -372,7 +372,7 @@ msal-extensions==1.0.0 # via # -r requirements/requirements_test.txt # azure-identity -mypy==1.5.1 +mypy==1.6.1 # via # -r requirements/requirements_test.txt # django-filter-stubs @@ -384,7 +384,7 @@ mypy-extensions==1.0.0 # via # -r requirements/requirements_test.txt # mypy -networkx==3.1 +networkx==3.2 # via -r requirements/requirements_test.txt o365==2.0.31 # via @@ -406,7 +406,7 @@ opencensus-context==0.1.3 # via # -r requirements/requirements_test.txt # opencensus -opencensus-ext-azure==1.1.10 +opencensus-ext-azure==1.1.11 # via -r requirements/requirements_test.txt opencensus-ext-django==0.8.0 # via -r requirements/requirements_test.txt @@ -431,7 +431,7 @@ parse-type==0.6.2 # via # -r requirements/requirements_test.txt # pytest-bdd -pillow==10.0.1 +pillow==10.1.0 # via # -r requirements/requirements_test.txt # cairosvg @@ -464,7 +464,7 @@ protobuf==4.24.4 # -r requirements/requirements_test.txt # google-api-core # googleapis-common-protos -psutil==5.9.5 +psutil==5.9.6 # via # -r requirements/requirements_test.txt # opencensus-ext-azure @@ -481,7 +481,7 @@ pyasn1-modules==0.3.0 # via # -r requirements/requirements_test.txt # google-auth -pycodestyle==2.11.0 +pycodestyle==2.11.1 # via # -r requirements/requirements_test.txt # autopep8 @@ -654,7 +654,7 @@ types-jsonschema==4.19.0.3 # via -r requirements/requirements_test.txt types-markdown==3.5.0.0 # via -r requirements/requirements_test.txt -types-pillow==10.0.0.3 +types-pillow==10.1.0.0 # via -r requirements/requirements_test.txt types-psycopg2==2.9.21.14 # via -r requirements/requirements_test.txt @@ -713,7 +713,7 @@ uritemplate==4.1.1 # via # -r requirements/requirements_test.txt # drf-spectacular -urllib3==1.26.17 +urllib3==1.26.18 # via # -r requirements/requirements_test.txt # elasticsearch diff --git a/app/requirements/requirements_test.txt b/app/requirements/requirements_test.txt index acac9d010..3fb5e6959 100644 --- a/app/requirements/requirements_test.txt +++ b/app/requirements/requirements_test.txt @@ -26,7 +26,7 @@ autopep8==2.0.4 # via # -r requirements/requirements.txt # django-silk -azure-core==1.29.4 +azure-core==1.29.5 # via # -r requirements/requirements.txt # azure-identity @@ -80,7 +80,7 @@ cffi==1.16.0 # weasyprint chardet==5.2.0 # via tox -charset-normalizer==3.3.0 +charset-normalizer==3.3.1 # via # -r requirements/requirements.txt # requests @@ -182,7 +182,7 @@ django-filter-stubs==0.1.3 # via -r requirements/requirements_test.in django-fsm==2.8.1 # via -r requirements/requirements.txt -django-markdownx==4.0.2 +django-markdownx==4.0.5 # via -r requirements/requirements.txt django-o365mail==1.1.0 # via -r requirements/requirements.txt @@ -190,12 +190,12 @@ django-silk==5.0.4 # via -r requirements/requirements.txt django-storages==1.14.2 # via -r requirements/requirements.txt -django-stubs[compatible-mypy]==4.2.4 +django-stubs[compatible-mypy]==4.2.5 # via # -r requirements/requirements_test.in # django-filter-stubs # djangorestframework-stubs -django-stubs-ext==4.2.2 +django-stubs-ext==4.2.5 # via django-stubs django-timezone-field==6.0.1 # via @@ -215,7 +215,7 @@ djangorestframework-csv==2.1.1 # drf-amsterdam djangorestframework-gis==1.0 # via -r requirements/requirements.txt -djangorestframework-stubs[compatible-mypy]==3.14.3 +djangorestframework-stubs[compatible-mypy]==3.14.4 # via # -r requirements/requirements_test.in # django-filter-stubs @@ -247,7 +247,7 @@ factory-boy==3.3.0 # via # -r requirements/requirements_test.in # types-factory-boy -faker==19.10.0 +faker==19.11.0 # via factory-boy filelock==3.12.4 # via @@ -267,7 +267,7 @@ google-auth==2.23.3 # via # -r requirements/requirements.txt # google-api-core -googleapis-common-protos==1.60.0 +googleapis-common-protos==1.61.0 # via # -r requirements/requirements.txt # google-api-core @@ -346,7 +346,7 @@ msal-extensions==1.0.0 # via # -r requirements/requirements.txt # azure-identity -mypy==1.5.1 +mypy==1.6.1 # via # -r requirements/requirements_test.in # django-filter-stubs @@ -356,7 +356,7 @@ mypy-baseline==0.6.0 # via -r requirements/requirements_test.in mypy-extensions==1.0.0 # via mypy -networkx==3.1 +networkx==3.2 # via -r requirements/requirements.txt o365==2.0.31 # via @@ -378,7 +378,7 @@ opencensus-context==0.1.3 # via # -r requirements/requirements.txt # opencensus -opencensus-ext-azure==1.1.10 +opencensus-ext-azure==1.1.11 # via -r requirements/requirements.txt opencensus-ext-django==0.8.0 # via -r requirements/requirements.txt @@ -399,7 +399,7 @@ parse==1.19.1 # pytest-bdd parse-type==0.6.2 # via pytest-bdd -pillow==10.0.1 +pillow==10.1.0 # via # -r requirements/requirements.txt # cairosvg @@ -430,7 +430,7 @@ protobuf==4.24.4 # -r requirements/requirements.txt # google-api-core # googleapis-common-protos -psutil==5.9.5 +psutil==5.9.6 # via # -r requirements/requirements.txt # opencensus-ext-azure @@ -447,7 +447,7 @@ pyasn1-modules==0.3.0 # via # -r requirements/requirements.txt # google-auth -pycodestyle==2.11.0 +pycodestyle==2.11.1 # via # -r requirements/requirements.txt # autopep8 @@ -611,7 +611,7 @@ types-jsonschema==4.19.0.3 # via -r requirements/requirements_test.in types-markdown==3.5.0.0 # via -r requirements/requirements_test.in -types-pillow==10.0.0.3 +types-pillow==10.1.0.0 # via -r requirements/requirements_test.in types-psycopg2==2.9.21.14 # via -r requirements/requirements_test.in @@ -661,7 +661,7 @@ uritemplate==4.1.1 # via # -r requirements/requirements.txt # drf-spectacular -urllib3==1.26.17 +urllib3==1.26.18 # via # -r requirements/requirements.txt # elasticsearch From 15fc432087e1be560784f145adb14d24d3beec10 Mon Sep 17 00:00:00 2001 From: Youri Westerman Date: Mon, 23 Oct 2023 11:21:31 +0200 Subject: [PATCH 2/2] Sync mypy baseline --- app/mypy-baseline.txt | 187 ++++++++++++++++++------------------------ 1 file changed, 82 insertions(+), 105 deletions(-) diff --git a/app/mypy-baseline.txt b/app/mypy-baseline.txt index 7a23e6eaa..42ede533a 100644 --- a/app/mypy-baseline.txt +++ b/app/mypy-baseline.txt @@ -1,31 +1,32 @@ -signals/celery.py:0: error: Skipping analyzing "celery": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/questionnaires/utils/mermaidx.py:0: error: Skipping analyzing "networkx": module is installed, but missing library stubs or py.typed marker [import] -signals/admin/oidc/backends.py:0: error: Skipping analyzing "mozilla_django_oidc.auth": module is installed, but missing library stubs or py.typed marker [import] +signals/celery.py:0: error: Skipping analyzing "celery": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/questionnaires/utils/mermaidx.py:0: error: Skipping analyzing "networkx": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/admin/oidc/backends.py:0: error: Skipping analyzing "mozilla_django_oidc.auth": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/admin/oidc/backends.py:0: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports logs/handlers.py:0: error: Item "None" of "TextIO | None" has no attribute "write" [union-attr] logs/handlers.py:0: error: Item "None" of "TextIO | None" has no attribute "write" [union-attr] -signals/apps/dsl/evaluators/meta_model.py:0: error: Skipping analyzing "textx": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/dsl/evaluators/meta_model.py:0: error: Skipping analyzing "textx": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/questionnaires/fieldtypes/base.py:0: error: "object" has no attribute "update" [attr-defined] signals/apps/questionnaires/fieldtypes/base.py:0: error: "FieldType" has no attribute "submission_schema" [attr-defined] signals/apps/questionnaires/fieldtypes/base.py:0: error: "FieldType" has no attribute "submission_schema" [attr-defined] logs/__init__.py:0: error: "object" has no attribute "update" [attr-defined] -signals/apps/services/domain/pdf.py:0: error: Skipping analyzing "weasyprint": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/services/domain/pdf.py:0: error: Skipping analyzing "weasyprint": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/questionnaires/fieldtypes/text.py:0: error: Incompatible types in assignment (expression has type "str", base class "FieldType" defined the type as "None") [assignment] signals/apps/questionnaires/fieldtypes/selected_object.py:0: error: Incompatible types in assignment (expression has type "str", base class "FieldType" defined the type as "None") [assignment] -signals/apps/questionnaires/managers.py:0: error: Skipping analyzing "networkx": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/signals/models/reporter.py:0: error: Skipping analyzing "django_fsm": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/questionnaires/managers.py:0: error: Skipping analyzing "networkx": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/signals/models/reporter.py:0: error: Skipping analyzing "django_fsm": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/services/validator/file.py:0: error: Argument 1 to "__call__" of "MimeTypeFromFilenameResolverFactory" has incompatible type "str | None"; expected "str" [arg-type] -signals/apps/signals/models/category.py:0: error: Skipping analyzing "django_extensions.db.fields": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/signals/models/category.py:0: error: Skipping analyzing "rest_framework_extensions.settings": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/questionnaires/services/question_graph.py:0: error: Skipping analyzing "networkx": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/email_integrations/admin.py:0: error: Skipping analyzing "markdownx.widgets": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/signals/models/category.py:0: error: Skipping analyzing "django_extensions.db.fields": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/signals/models/category.py:0: error: Skipping analyzing "rest_framework_extensions.settings": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/signals/models/status_message.py:0: error: Need type annotation for "categories" [var-annotated] +signals/apps/questionnaires/services/question_graph.py:0: error: Skipping analyzing "networkx": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/email_integrations/admin.py:0: error: Skipping analyzing "markdownx.widgets": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/email_integrations/actions/signal_created.py:0: error: Dict entry 0 has incompatible type "str": "bool"; expected "str": "str | None" [dict-item] signals/apps/email_integrations/actions/signal_created.py:0: error: Dict entry 0 has incompatible type "str": "dict[Any, Any]"; expected "str": "str | None" [dict-item] signals/apps/email_integrations/actions/signal_created.py:0: error: Need type annotation for "context" (hint: "context: Dict[, ] = ...") [var-annotated] signals/apps/email_integrations/actions/signal_created.py:0: error: Incompatible return value type (got "dict[Any, Any]", expected "str") [return-value] signals/apps/email_integrations/services.py:0: error: Argument 1 to "__call__" of "AbstractAction" has incompatible type "int | Signal"; expected "Signal" [arg-type] -signals/apps/users/rest_framework/serializers/permission.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/users/rest_framework/serializers/permission.py:0: error: Skipping analyzing "datapunt_api.serializers": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/users/rest_framework/serializers/permission.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/users/rest_framework/serializers/permission.py:0: error: Skipping analyzing "datapunt_api.serializers": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/services/domain/dsl.py:0: error: Need type annotation for "_code_cache" (hint: "_code_cache: Dict[, ] = ...") [var-annotated] signals/apps/services/domain/dsl.py:0: error: Item "None" of "CategoryAssignment | None" has no attribute "category" [union-attr] signals/apps/services/domain/dsl.py:0: error: Item "None" of "CategoryAssignment | None" has no attribute "category" [union-attr] @@ -33,21 +34,23 @@ signals/apps/services/domain/dsl.py:0: error: Item "ForeignKey[Category | Combin signals/apps/services/domain/dsl.py:0: error: Item "None" of "Location | None" has no attribute "geometrie" [union-attr] signals/apps/services/domain/dsl.py:0: error: Item "None" of "Location | None" has no attribute "stadsdeel" [union-attr] signals/apps/services/domain/dsl.py:0: error: Need type annotation for "signal_manager" [var-annotated] -signals/apps/search/rest_framework/serializers.py:0: error: Skipping analyzing "elasticsearch_dsl.response": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/reporting/utils.py:0: error: Skipping analyzing "storages.backends.azure_storage": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/search/rest_framework/serializers.py:0: error: Skipping analyzing "elasticsearch_dsl.response": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/search/documents/base.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/reporting/utils.py:0: error: Skipping analyzing "storages.backends.azure_storage": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/validation/address/pdok.py:0: error: Incompatible types in assignment (expression has type "str", base class "BaseAddressValidation" defined the type as "None") [assignment] -signals/apps/api/serializers/signal_reporter.py:0: error: Skipping analyzing "django_fsm": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/serializers/signal_reporter.py:0: error: Skipping analyzing "django_fsm": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/serializers/signal_reporter.py:0: error: Item "None" of "Any | None" has no attribute "user" [union-attr] signals/apps/api/serializers/signal_reporter.py:0: error: Incompatible types in assignment (expression has type "Any | None", variable has type "bool | Combinable") [assignment] signals/apps/api/serializers/signal_reporter.py:0: error: Item "None" of "Reporter | None" has no attribute "phone" [union-attr] signals/apps/api/serializers/signal_reporter.py:0: error: Item "None" of "Reporter | None" has no attribute "email" [union-attr] -signals/apps/api/serializers/signal_history.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/serializers/signal_history.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/serializers/question.py:0: error: Incompatible types in assignment (expression has type "BooleanField", base class "Field" defined the type as "bool") [assignment] signals/apps/api/serializers/email_verification.py:0: error: Unsupported operand types for > ("datetime" and "None") [operator] signals/apps/api/serializers/email_verification.py:0: note: Left operand is of type "datetime | None" -signals/apps/search/documents/status_message.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/search/documents/base.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/reporting/csv/utils.py:0: error: Skipping analyzing "storages.backends.azure_storage": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/search/documents/status_message.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/search/documents/signal.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/search/documents/signal.py:0: error: Skipping analyzing "elasticsearch_dsl.query": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/reporting/csv/utils.py:0: error: Skipping analyzing "storages.backends.azure_storage": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/questionnaires/factories.py:0: error: Need type annotation for "first_question" [var-annotated] signals/apps/questionnaires/factories.py:0: error: Need type annotation for "question" [var-annotated] signals/apps/questionnaires/factories.py:0: error: Need type annotation for "graph" [var-annotated] @@ -60,8 +63,8 @@ signals/apps/questionnaires/factories.py:0: error: Need type annotation for "gra signals/apps/questionnaires/factories.py:0: error: Need type annotation for "questionnaire" [var-annotated] signals/apps/questionnaires/factories.py:0: error: Need type annotation for "session" [var-annotated] signals/apps/questionnaires/factories.py:0: error: Need type annotation for "question" [var-annotated] -signals/apps/questionnaires/rest_framework/serializers/public/questions.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/questionnaires/rest_framework/serializers/public/answers.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/questionnaires/rest_framework/serializers/public/questions.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/questionnaires/rest_framework/serializers/public/answers.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/views/email_verification.py:0: error: Item "None" of "Reporter | None" has no attribute "phone" [union-attr] signals/apps/api/serializers/nested/department.py:0: error: Need type annotation for "id" [var-annotated] signals/apps/api/generics/permissions.py:0: error: Need type annotation for "perms_map" [var-annotated] @@ -71,84 +74,69 @@ signals/apps/api/generics/permissions.py:0: note: Superclass: signals/apps/api/generics/permissions.py:0: note: def has_permission(self, request: Request, view: APIView) -> bool signals/apps/api/generics/permissions.py:0: note: Subclass: signals/apps/api/generics/permissions.py:0: note: def has_permission(self, request: Request, *args: set[Any], **kwargs: dict[Any, Any]) -> bool -signals/apps/api/generics/pagination.py:0: error: Skipping analyzing "datapunt_api.pagination": module is installed, but missing library stubs or py.typed marker [import] -signals/auth/jwks.py:0: error: Skipping analyzing "jwcrypto.common": module is installed, but missing library stubs or py.typed marker [import] -signals/auth/jwks.py:0: error: Skipping analyzing "jwcrypto.jwk": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/search/management/commands/delete_status_messages_index.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/search/elasticsearch_dsl/search.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/search/documents/signal.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/search/documents/signal.py:0: error: Skipping analyzing "elasticsearch_dsl.query": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/generics/pagination.py:0: error: Skipping analyzing "datapunt_api.pagination": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/auth/jwks.py:0: error: Skipping analyzing "jwcrypto.common": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/auth/jwks.py:0: error: Skipping analyzing "jwcrypto.jwk": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/search/management/commands/delete_status_messages_index.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/search/elasticsearch_dsl/search.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/reporting/csv/datawarehouse/statusses.py:0: error: Argument 2 to "map_choices" has incompatible type "tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]]"; expected "list[Any]" [arg-type] signals/apps/reporting/csv/datawarehouse/locations.py:0: error: Argument 2 to "map_choices" has incompatible type "tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]]"; expected "list[Any]" [arg-type] signals/apps/questionnaires/admin/options.py:0: error: Module "django.contrib.admin.options" has no attribute "flatten_fieldsets" [attr-defined] signals/apps/questionnaires/admin/options.py:0: error: Module "django.forms" has no attribute "ALL_FIELDS" [attr-defined] signals/apps/questionnaires/admin/options.py:0: error: Incompatible types in assignment (expression has type "type[NonRelatedInlineFormSet]", base class "InlineModelAdmin" defined the type as "type[BaseInlineFormSet[Any, Any, ModelForm[Any]]]") [assignment] -signals/apps/my_signals/rest_framework/views/token.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/my_signals/rest_framework/views/token.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/tests/scenarios/context/user.py:0: error: Variable "signals.apps.users.models.User" is not valid as a type [valid-type] signals/apps/api/tests/scenarios/context/user.py:0: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases -signals/auth/tokens.py:0: error: Skipping analyzing "jwcrypto.jws": module is installed, but missing library stubs or py.typed marker [import] -signals/auth/tokens.py:0: error: Skipping analyzing "jwcrypto.jwt": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/questionnaires/rest_framework/viewsets.py:0: error: Skipping analyzing "datapunt_api.pagination": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/questionnaires/rest_framework/viewsets.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/questionnaires/rest_framework/viewsets.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/questionnaires/rest_framework/serializers/public/sessions.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/questionnaires/rest_framework/serializers/public/questionnaires.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] +signals/auth/tokens.py:0: error: Skipping analyzing "jwcrypto.jws": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/auth/tokens.py:0: error: Skipping analyzing "jwcrypto.jwt": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/questionnaires/rest_framework/viewsets.py:0: error: Skipping analyzing "datapunt_api.pagination": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/questionnaires/rest_framework/viewsets.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/questionnaires/rest_framework/viewsets.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/questionnaires/rest_framework/serializers/public/sessions.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/questionnaires/rest_framework/serializers/public/questionnaires.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/my_signals/rest_framework/fields/signals.py:0: error: Return type "OrderedDict[Any, Any]" of "to_representation" incompatible with return type "Hyperlink" in supertype "Field" [override] -signals/apps/my_signals/rest_framework/fields/signals.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "str | None"; expected "str" [arg-type] signals/apps/my_signals/rest_framework/fields/signals.py:0: error: Return type "OrderedDict[Any, Any]" of "to_representation" incompatible with return type "Hyperlink" in supertype "Field" [override] -signals/apps/my_signals/rest_framework/fields/signals.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "str | None"; expected "str" [arg-type] -signals/apps/my_signals/rest_framework/fields/signals.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "str | None"; expected "str" [arg-type] signals/apps/my_signals/rest_framework/fields/signals.py:0: error: Argument 1 to has incompatible type "tuple[str, Generator[dict[str, datetime | str | None], None, None]]"; expected "tuple[str, dict[str, Any]]" [arg-type] -signals/apps/api/serializers/area.py:0: error: Skipping analyzing "datapunt_api.serializers": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/api/serializers/area.py:0: error: Skipping analyzing "rest_framework_gis.fields": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/api/serializers/area.py:0: error: Skipping analyzing "rest_framework_gis.serializers": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/serializers/area.py:0: error: Skipping analyzing "datapunt_api.serializers": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/api/serializers/area.py:0: error: Skipping analyzing "rest_framework_gis.fields": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/api/serializers/area.py:0: error: Skipping analyzing "rest_framework_gis.serializers": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/serializers/area.py:0: error: Missing return statement [return] signals/apps/api/fields/signal.py:0: error: Return type "OrderedDict[Any, Any]" of "to_representation" incompatible with return type "Hyperlink" in supertype "Field" [override] signals/apps/api/fields/signal.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/signal.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] signals/apps/api/fields/signal.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/signal.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] signals/apps/api/fields/signal.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/signal.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] signals/apps/api/fields/signal.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/signal.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] signals/apps/api/fields/signal.py:0: error: Argument 1 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Signal | None"; expected "Model" [arg-type] signals/apps/api/fields/signal.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/signal.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] signals/apps/api/fields/signal.py:0: error: Dict entry 0 has incompatible type "str": "list[dict[str, str | None]]"; expected "str": "dict[str, Any]" [dict-item] signals/apps/api/fields/signal.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/signal.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] signals/apps/api/fields/signal.py:0: error: Return type "OrderedDict[Any, Any]" of "to_representation" incompatible with return type "Hyperlink" in supertype "Field" [override] signals/apps/api/fields/signal.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/signal.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] signals/apps/api/fields/signal.py:0: error: Return type "OrderedDict[Any, Any]" of "to_representation" incompatible with return type "Hyperlink" in supertype "Field" [override] signals/apps/api/fields/signal.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/signal.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] signals/apps/api/fields/signal.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/signal.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] signals/apps/api/fields/signal.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/signal.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] signals/apps/api/fields/signal.py:0: error: Return type "OrderedDict[Any, Any]" of "to_representation" incompatible with return type "Hyperlink" in supertype "Field" [override] signals/apps/api/fields/signal.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/signal.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] -signals/apps/api/fields/category.py:0: error: Skipping analyzing "rest_framework_extensions.settings": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/fields/category.py:0: error: Skipping analyzing "rest_framework_extensions.settings": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/fields/attachment.py:0: error: Argument 3 to "get_url" of "HyperlinkedRelatedField" has incompatible type "Any | None"; expected "Request" [arg-type] -signals/apps/api/fields/attachment.py:0: error: Argument 4 to "get_url" of "HyperlinkedRelatedField" has incompatible type "None"; expected "str" [arg-type] signals/apps/api/fields/attachment.py:0: error: Return type "OrderedDict[Any, Any]" of "to_representation" incompatible with return type "Hyperlink" in supertype "Field" [override] signals/apps/api/fields/attachment.py:0: error: Argument 1 of "get_url" is incompatible with supertype "HyperlinkedRelatedField"; supertype defines the argument type as "Model" [override] signals/apps/api/fields/attachment.py:0: note: This violates the Liskov substitution principle signals/apps/api/fields/attachment.py:0: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides -signals/apps/users/rest_framework/serializers/user.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/users/rest_framework/serializers/user.py:0: error: Skipping analyzing "datapunt_api.serializers": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/users/rest_framework/serializers/role.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/users/rest_framework/serializers/role.py:0: error: Skipping analyzing "datapunt_api.serializers": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/signals/tests/test_reporter_state_machine.py:0: error: Skipping analyzing "django_fsm": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/sigmax/tests/stuf_protocol/outgoing/test_voegZaakdocumentToe_Lk01.py:0: error: Skipping analyzing "xmlunittest": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/sigmax/tests/stuf_protocol/outgoing/test_creeerZaak_Lk01.py:0: error: Skipping analyzing "xmlunittest": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/fields/attachment.py:0: error: Argument 4 of "get_url" is incompatible with supertype "HyperlinkedRelatedField"; supertype defines the argument type as "str | None" [override] +signals/apps/users/rest_framework/serializers/user.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/users/rest_framework/serializers/user.py:0: error: Skipping analyzing "datapunt_api.serializers": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/users/rest_framework/serializers/role.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/users/rest_framework/serializers/role.py:0: error: Skipping analyzing "datapunt_api.serializers": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/signals/tests/test_reporter_state_machine.py:0: error: Skipping analyzing "django_fsm": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/sigmax/tests/stuf_protocol/outgoing/test_voegZaakdocumentToe_Lk01.py:0: error: Skipping analyzing "xmlunittest": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/sigmax/tests/stuf_protocol/outgoing/test_creeerZaak_Lk01.py:0: error: Skipping analyzing "xmlunittest": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/search/apps.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/questionnaires/admin/admins.py:0: error: "Callable[[SessionAdmin, Any], Any]" has no attribute "short_description" [attr-defined] signals/apps/questionnaires/admin/admins.py:0: error: "Callable[[SessionAdmin, Any], Any]" has no attribute "short_description" [attr-defined] signals/apps/questionnaires/admin/admins.py:0: error: "Callable[[SessionAdmin, Any], Any]" has no attribute "boolean" [attr-defined] -signals/apps/my_signals/rest_framework/serializers/signals.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/my_signals/rest_framework/serializers/signals.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/tests/test_status_message_endpoint.py:0: error: Argument 1 to "mute_signals" has incompatible type "str"; expected "Signal" [arg-type] signals/apps/api/tests/test_status_message_endpoint.py:0: error: Argument 2 to "mute_signals" has incompatible type "str"; expected "Signal" [arg-type] signals/apps/api/tests/test_private_signal_reporters.py:0: error: Argument 1 to "freeze_time" has incompatible type "datetime"; expected "float" [arg-type] @@ -168,88 +156,77 @@ signals/apps/api/tests/scenarios/context/reporter.py:0: error: Item "None" of "R signals/apps/api/tests/scenarios/context/reporter.py:0: error: Item "None" of "Reporter | None" has no attribute "state" [union-attr] signals/schema.py:0: error: Incompatible types in assignment (expression has type "DictField", base class "Serializer" defined the type as "ReturnDict[Any, Any]") [assignment] signals/schema.py:0: error: Need type annotation for "non_field_errors" [var-annotated] -signals/auth/tests/test_backend.py:0: error: Skipping analyzing "jwcrypto": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/users/rest_framework/views/role.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import] +signals/auth/tests/test_backend.py:0: error: Skipping analyzing "jwcrypto": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/users/rest_framework/views/role.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/users/rest_framework/views/role.py:0: error: List item 0 has incompatible type "type[JWTAuthBackend]"; expected "type[BaseAuthentication]" [list-item] -signals/apps/users/rest_framework/views/permission.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/users/rest_framework/views/permission.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/users/rest_framework/views/permission.py:0: error: List item 0 has incompatible type "type[JWTAuthBackend]"; expected "type[BaseAuthentication]" [list-item] -signals/apps/signals/migrations/0192_auto_20230626_1312.py:0: error: Skipping analyzing "django_fsm": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/users/migrations/0005_auto_20191113_1000.py:0: error: Unexpected keyword argument "null" for "ManyToManyField" [call-arg] +/usr/local/lib/python3.11/site-packages/django-stubs/db/models/fields/related.pyi:0: note: "ManyToManyField" defined here +signals/apps/users/migrations/0005_auto_20191113_1000.py:0: error: Unexpected keyword argument "null" for "ManyToManyField" [call-arg] +/usr/local/lib/python3.11/site-packages/django-stubs/db/models/fields/related.pyi:0: note: "ManyToManyField" defined here +signals/apps/signals/migrations/0192_auto_20230626_1312.py:0: error: Skipping analyzing "django_fsm": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/sigmax/rest_framework/views.py:0: error: List item 0 has incompatible type "type[JWTAuthBackend]"; expected "type[BaseAuthentication]" [list-item] -signals/apps/search/apps.py:0: error: Skipping analyzing "elasticsearch_dsl": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/questionnaires/tests/services/test_question_graph.py:0: error: Skipping analyzing "networkx": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/questionnaires/tests/services/test_question_graph.py:0: error: Skipping analyzing "networkx": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/views/translations.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] signals/apps/api/views/translations.py:0: error: Incompatible types in assignment (expression has type "bytes", variable has type "str") [assignment] -signals/apps/api/views/translations.py:0: error: "DefaultStorage" has no attribute "exists" [attr-defined] -signals/apps/api/views/translations.py:0: error: "DefaultStorage" has no attribute "delete" [attr-defined] -signals/apps/api/views/translations.py:0: error: "DefaultStorage" has no attribute "save" [attr-defined] -signals/apps/api/views/translations.py:0: error: "DefaultStorage" has no attribute "exists" [attr-defined] -signals/apps/api/views/translations.py:0: error: "DefaultStorage" has no attribute "open" [attr-defined] signals/apps/api/views/csv.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] -signals/apps/api/serializers/signal_context.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/api/serializers/signal_context.py:0: error: Skipping analyzing "rest_framework_gis.fields": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/api/serializers/signal_context.py:0: error: Skipping analyzing "rest_framework_gis.serializers": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/serializers/signal_context.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/api/serializers/signal_context.py:0: error: Skipping analyzing "rest_framework_gis.fields": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/api/serializers/signal_context.py:0: error: Skipping analyzing "rest_framework_gis.serializers": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/serializers/signal_context.py:0: error: Missing return statement [return] signals/apps/api/serializers/signal_context.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "timedelta" [attr-defined] signals/apps/api/serializers/signal_context.py:0: error: Incompatible return value type (got "None", expected "dict[Any, Any]") [return-value] -signals/apps/api/serializers/attachment.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/serializers/attachment.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/serializers/attachment.py:0: error: "SignalAttachmentSerializerMixin" has no attribute "context" [attr-defined] signals/apps/api/serializers/attachment.py:0: error: "SignalAttachmentSerializerMixin" has no attribute "context" [attr-defined] signals/apps/reporting/rest_framework/views.py:0: error: List item 0 has incompatible type "type[JWTAuthBackend]"; expected "type[BaseAuthentication]" [list-item] -signals/apps/my_signals/rest_framework/views/signals.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/my_signals/rest_framework/views/signals.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/views/source.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] -signals/apps/api/views/signals/private/signal_reporters.py:0: error: Skipping analyzing "django_fsm": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/api/views/signals/private/signal_reporters.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/views/signals/private/signal_reporters.py:0: error: Skipping analyzing "django_fsm": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/api/views/signals/private/signal_reporters.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/views/signals/private/signal_reporters.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] -signals/apps/api/tests/test_translation_endpoints.py:0: error: "DefaultStorage" has no attribute "exists" [attr-defined] -signals/apps/api/tests/test_translation_endpoints.py:0: error: "DefaultStorage" has no attribute "exists" [attr-defined] -signals/apps/api/tests/test_translation_endpoints.py:0: error: "DefaultStorage" has no attribute "open" [attr-defined] -signals/apps/api/tests/test_translation_endpoints.py:0: error: "DefaultStorage" has no attribute "save" [attr-defined] -signals/apps/api/tests/test_translation_endpoints.py:0: error: "DefaultStorage" has no attribute "exists" [attr-defined] -signals/apps/api/tests/test_translation_endpoints.py:0: error: "DefaultStorage" has no attribute "open" [attr-defined] -signals/apps/api/tests/test_translation_endpoints.py:0: error: "DefaultStorage" has no attribute "save" [attr-defined] signals/apps/api/tests/test_translation_endpoints.py:0: error: "_MonkeyPatchedResponse" has no attribute "streaming_content" [attr-defined] -signals/apps/api/tests/test_translation_endpoints.py:0: error: "DefaultStorage" has no attribute "exists" [attr-defined] -signals/apps/api/tests/test_translation_endpoints.py:0: error: "DefaultStorage" has no attribute "delete" [attr-defined] -signals/apps/api/generics/routers.py:0: error: Skipping analyzing "rest_framework_extensions.routers": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/users/rest_framework/views/user.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/generics/routers.py:0: error: Skipping analyzing "rest_framework_extensions.routers": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/users/rest_framework/views/user.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/users/rest_framework/views/user.py:0: error: List item 0 has incompatible type "type[JWTAuthBackend]"; expected "type[BaseAuthentication]" [list-item] signals/apps/users/rest_framework/views/user.py:0: error: List item 0 has incompatible type "type[JWTAuthBackend]"; expected "type[BaseAuthentication]" [list-item] signals/apps/users/rest_framework/views/user.py:0: error: List item 0 has incompatible type "type[JWTAuthBackend]"; expected "type[BaseAuthentication]" [list-item] signals/apps/api/views/area.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] -signals/apps/api/serializers/stored_signal_filter.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/api/serializers/signal.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/serializers/stored_signal_filter.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/api/serializers/signal.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/serializers/signal.py:0: error: Incompatible types in assignment (expression has type "CharField", base class "Field" defined the type as "Callable[..., Any] | str | None") [assignment] -signals/apps/api/serializers/departments.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/serializers/departments.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/serializers/departments.py:0: error: "list" expects 1 type argument, but 2 given [type-arg] -signals/apps/api/serializers/category.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/serializers/category.py:0: error: Skipping analyzing "datapunt_api.rest": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/serializers/category.py:0: error: Incompatible return value type (got "ReturnDict[Any, Any]", expected "PrivateCategorySLASerializer") [return-value] signals/apps/api/views/status_message.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] signals/apps/api/views/status_message.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] -signals/apps/api/serializers/expression.py:0: error: Skipping analyzing "datapunt_api.serializers": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/serializers/expression.py:0: error: Skipping analyzing "datapunt_api.serializers": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/views/expression.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] -signals/apps/search/rest_framework/views.py:0: error: Skipping analyzing "elasticsearch_dsl.query": module is installed, but missing library stubs or py.typed marker [import] -signals/apps/search/rest_framework/views.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/search/rest_framework/views.py:0: error: Skipping analyzing "elasticsearch_dsl.query": module is installed, but missing library stubs or py.typed marker [import-untyped] +signals/apps/search/rest_framework/views.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/search/rest_framework/views.py:0: error: List item 0 has incompatible type "type[JWTAuthBackend]"; expected "type[BaseAuthentication]" [list-item] signals/apps/search/rest_framework/views.py:0: error: List item 0 has incompatible type "type[JWTAuthBackend]"; expected "type[BaseAuthentication]" [list-item] signals/apps/search/rest_framework/views.py:0: error: Incompatible types in assignment (expression has type "str", target has type "list[str]") [assignment] -signals/apps/api/views/stored_signal_filter.py:0: error: Skipping analyzing "datapunt_api.pagination": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/views/stored_signal_filter.py:0: error: Skipping analyzing "datapunt_api.pagination": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/views/stored_signal_filter.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] signals/apps/api/views/status_message_template.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] -signals/apps/api/views/departments.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/views/departments.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/views/departments.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] signals/apps/api/views/category_removed.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] -signals/apps/api/views/category.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/views/category.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/views/category.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] signals/apps/api/views/category.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] signals/apps/api/views/category.py:0: error: Argument 1 of "perform_update" is incompatible with supertype "UpdateModelMixin"; supertype defines the argument type as "BaseSerializer[Any]" [override] signals/apps/api/views/category.py:0: note: This violates the Liskov substitution principle signals/apps/api/views/category.py:0: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides -signals/apps/api/views/attachment.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/views/attachment.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/views/attachment.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] signals/apps/api/views/signals/public/signals.py:0: error: "type[PublicSignalGeographyFeature]" has no attribute "objects" [attr-defined] signals/apps/api/views/signals/public/signals.py:0: error: Argument "headers" to "Response" has incompatible type "list[Any]"; expected "Mapping[str, str] | None" [arg-type] signals/apps/api/views/signals/private/signals_promoted_to_parent.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] -signals/apps/api/views/signals/private/signals.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import] +signals/apps/api/views/signals/private/signals.py:0: error: Skipping analyzing "rest_framework_extensions.mixins": module is installed, but missing library stubs or py.typed marker [import-untyped] signals/apps/api/views/signals/private/signals.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] signals/apps/api/views/signals/private/signal_context.py:0: error: Incompatible types in assignment (expression has type "tuple[type[JWTAuthBackend]]", base class "APIView" defined the type as "Sequence[type[BaseAuthentication]]") [assignment] signals/apps/questionnaires/tests/rest_framework/views/public/test_reaction_request_flow.py:0: error: "NameSpace" has no attribute "urlpatterns" [attr-defined]