Files
paperless-ngx/.mypy-baseline.txt
Trenton H e50bcc2efb Chore: Updates typing baseline files (#14295)
* Chore: Refresh the mypy and pyrefly baselines

* Chore: Type factory calls as the model they build for mypy

factory-boy leaves Factory() unannotated, so mypy took UserFactory() to
be a factory instance rather than a User. A shared TypedModelFactory
base declares the call as returning the model for type checking only.

* Refresh again after rebase
2026-09-28 11:32:05 -07:00

2555 lines
320 KiB
Plaintext

src/documents/admin.py:0: error: "Callable[[DocumentAdmin, Any], Any]" has no attribute "short_description" [attr-defined]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/admin.py:0: error: Missing type arguments for generic type "ModelAdmin" [type-arg]
src/documents/admin.py:0: error: Missing type arguments for generic type "TabularInline" [type-arg]
src/documents/admin.py:0: error: Missing type arguments for generic type "TabularInline" [type-arg]
src/documents/admin.py:0: error: Skipping analyzing "auditlog.admin": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/admin.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/admin.py:0: error: Skipping analyzing "treenode.admin": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/barcodes.py:0: error: "Image" has no attribute "filename" [attr-defined]
src/documents/bulk_download.py:0: error: Return type "None" of "add_document" incompatible with return type "Never" in supertype "BulkArchiveStrategy" [override]
src/documents/bulk_download.py:0: error: Return type "None" of "add_document" incompatible with return type "Never" in supertype "BulkArchiveStrategy" [override]
src/documents/bulk_download.py:0: error: Return type "None" of "add_document" incompatible with return type "Never" in supertype "BulkArchiveStrategy" [override]
src/documents/bulk_edit.py:0: error: "int" object is not iterable [misc]
src/documents/bulk_edit.py:0: error: "int" object is not iterable [misc]
src/documents/bulk_edit.py:0: error: Argument "args" to "apply_async" of "Task" has incompatible type "list[int]"; expected "tuple[Any, ...] | None" [arg-type]
src/documents/bulk_edit.py:0: error: Cannot determine type of "field_id" [has-type]
src/documents/bulk_edit.py:0: error: Cannot determine type of "field_id" [has-type]
src/documents/bulk_edit.py:0: error: Cannot determine type of "value" [has-type]
src/documents/bulk_edit.py:0: error: Cannot determine type of "value" [has-type]
src/documents/bulk_edit.py:0: error: Cannot determine type of "value" [has-type]
src/documents/bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/bulk_edit.py:0: error: Incompatible type for lookup 'id': (got "Correspondent", expected "str | int") [misc]
src/documents/bulk_edit.py:0: error: Incompatible type for lookup 'id': (got "DocumentType", expected "str | int") [misc]
src/documents/bulk_edit.py:0: error: Incompatible type for lookup 'id': (got "StoragePath", expected "str | int") [misc]
src/documents/bulk_edit.py:0: error: Incompatible types in assignment (expression has type "int | None", target has type "datetime") [assignment]
src/documents/bulk_edit.py:0: error: Invalid index type "str" for "dict[FieldDataType, str]"; expected type "FieldDataType" [index]
src/documents/bulk_edit.py:0: error: List comprehension has incompatible type List[tuple[int, Any]]; expected List[int] [misc]
src/documents/bulk_edit.py:0: error: List comprehension has incompatible type List[tuple[int, None]]; expected List[int] [misc]
src/documents/bulk_edit.py:0: error: Missing named argument "p" for "remove" of "PageList" [call-arg]
src/documents/bulk_edit.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/bulk_edit.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/bulk_edit.py:0: error: Need type annotation for "to_create" (hint: "to_create: list[<type>] = ...") [var-annotated]
src/documents/bulk_edit.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/bulk_edit.py:0: error: Unexpected keyword argument "transaction_id" for "delete" of "QuerySet" [call-arg]
src/documents/caching.py:0: error: Argument 1 to "hexlify" has incompatible type "bytes | None"; expected "Buffer" [arg-type]
src/documents/caching.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/caching.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/caching.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/caching.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/caching.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/caching.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/caching.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/caching.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/caching.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/checks.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/checks.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/classifier.py:0: error: "MLPClassifier" has no attribute "_best_coefs" [attr-defined]
src/documents/classifier.py:0: error: "MLPClassifier" has no attribute "_best_intercepts" [attr-defined]
src/documents/classifier.py:0: error: "MLPClassifier" has no attribute "_optimizer" [attr-defined]
src/documents/classifier.py:0: error: "None" has no attribute "fit" [attr-defined]
src/documents/classifier.py:0: error: "None" has no attribute "fit" [attr-defined]
src/documents/classifier.py:0: error: "None" has no attribute "fit" [attr-defined]
src/documents/classifier.py:0: error: "None" has no attribute "fit" [attr-defined]
src/documents/classifier.py:0: error: "None" has no attribute "fit_transform" [attr-defined]
src/documents/classifier.py:0: error: "None" has no attribute "fit_transform" [attr-defined]
src/documents/classifier.py:0: error: "None" has no attribute "fit_transform" [attr-defined]
src/documents/classifier.py:0: error: "None" has no attribute "stop_words_" [attr-defined]
src/documents/classifier.py:0: error: "None" has no attribute "transform" [attr-defined]
src/documents/classifier.py:0: error: "None" has no attribute "transform" [attr-defined]
src/documents/classifier.py:0: error: Argument 1 to "_strip_training_state" of "DocumentClassifier" has incompatible type "None"; expected "MLPClassifier" [arg-type]
src/documents/classifier.py:0: error: Argument 1 to "_strip_training_state" of "DocumentClassifier" has incompatible type "None"; expected "MLPClassifier" [arg-type]
src/documents/classifier.py:0: error: Argument 1 to "_strip_training_state" of "DocumentClassifier" has incompatible type "None"; expected "MLPClassifier" [arg-type]
src/documents/classifier.py:0: error: Argument 1 to "_strip_training_state" of "DocumentClassifier" has incompatible type "None"; expected "MLPClassifier" [arg-type]
src/documents/classifier.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/classifier.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/classifier.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "CountVectorizer", variable has type "None") [assignment]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "LabelBinarizer", variable has type "None") [assignment]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "MLPClassifier", variable has type "None") [assignment]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "MLPClassifier", variable has type "None") [assignment]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "MLPClassifier", variable has type "None") [assignment]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "MLPClassifier", variable has type "None") [assignment]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "MultiLabelBinarizer", variable has type "None") [assignment]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "DocumentClassifier") [assignment]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "DocumentClassifier") [assignment]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "DocumentClassifier") [assignment]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "DocumentClassifier") [assignment]
src/documents/classifier.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment]
src/documents/classifier.py:0: error: Item "None" of "str | None" has no attribute "encode" [union-attr]
src/documents/classifier.py:0: error: List comprehension has incompatible type List[int]; expected List[list[int]] [misc]
src/documents/classifier.py:0: error: Module "sklearn.exceptions" has no attribute "InconsistentVersionWarning" [attr-defined]
src/documents/classifier.py:0: error: Unsupported operand types for >= ("datetime" and "None") [operator]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "input_doc" [attr-defined]
src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "metadata" [attr-defined]
src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "metadata" [attr-defined]
src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "metadata" [attr-defined]
src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "metadata" [attr-defined]
src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "metadata" [attr-defined]
src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "metadata" [attr-defined]
src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "renew_logging_group" [attr-defined]
src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "status_mgr" [attr-defined]
src/documents/consumer.py:0: error: "None" not callable [misc]
src/documents/consumer.py:0: error: "None" object is not iterable [misc]
src/documents/consumer.py:0: error: Argument "data_type" to "get_value_field_name" of "CustomFieldInstance" has incompatible type "str"; expected "FieldDataType" [arg-type]
src/documents/consumer.py:0: error: Argument "logger" to "run_subprocess" has incompatible type "LoggerAdapter[Logger]"; expected "Logger | None" [arg-type]
src/documents/consumer.py:0: error: Argument "text" to "_store" of "ConsumerPlugin" has incompatible type "str | Any | None"; expected "str" [arg-type]
src/documents/consumer.py:0: error: Argument 1 to "compute_checksum" has incompatible type "Path | None"; expected "Path" [arg-type]
src/documents/consumer.py:0: error: Argument 1 to "create_source_path_directory" has incompatible type "Path | None"; expected "Path" [arg-type]
src/documents/consumer.py:0: error: Argument 1 to "validate_path_in_root" has incompatible type "Path | None"; expected "Path" [arg-type]
src/documents/consumer.py:0: error: Argument 2 to "parse_w_workflow_placeholders" has incompatible type "str | None"; expected "str" [arg-type]
src/documents/consumer.py:0: error: Argument 3 to "parse_w_workflow_placeholders" has incompatible type "str | None"; expected "str" [arg-type]
src/documents/consumer.py:0: error: Argument 3 to "run_subprocess" has incompatible type "LoggerAdapter[Logger]"; expected "Logger | None" [arg-type]
src/documents/consumer.py:0: error: Argument 3 to "run_subprocess" has incompatible type "LoggerAdapter[Logger]"; expected "Logger | None" [arg-type]
src/documents/consumer.py:0: error: Argument 4 to "parse_w_workflow_placeholders" has incompatible type "str | None"; expected "str" [arg-type]
src/documents/consumer.py:0: error: Argument 4 to "should_produce_archive" has incompatible type "LoggerAdapter[Logger]"; expected "Logger | None" [arg-type]
src/documents/consumer.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/consumer.py:0: error: Item "None" of "Document | None" has no attribute "deleted_at" [union-attr]
src/documents/consumer.py:0: error: Item "None" of "Document | None" has no attribute "filename" [union-attr]
src/documents/consumer.py:0: error: Item "None" of "Document | None" has no attribute "original_filename" [union-attr]
src/documents/consumer.py:0: error: Item "None" of "Document | None" has no attribute "pk" [union-attr]
src/documents/consumer.py:0: error: Item "None" of "Document | None" has no attribute "pk" [union-attr]
src/documents/consumer.py:0: error: Item "None" of "Document | None" has no attribute "pk" [union-attr]
src/documents/consumer.py:0: error: Item "None" of "Document | None" has no attribute "title" [union-attr]
src/documents/consumer.py:0: error: List item 2 has incompatible type "Path"; expected "str" [list-item]
src/documents/consumer.py:0: error: Return type "ConsumeFileSuccessResult" of "run" incompatible with return type "str | None" in supertype "documents.plugins.base.ConsumeTaskPlugin" [override]
src/documents/consumer.py:0: error: Too many arguments for "__init__" of "object" [call-arg]
src/documents/context_processors.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/converters.py:0: error: List item 3 has incompatible type "Path"; expected "str" [list-item]
src/documents/converters.py:0: error: List item 4 has incompatible type "Path"; expected "str" [list-item]
src/documents/converters.py:0: error: Skipping analyzing "img2pdf": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/data_models.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/data_models.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment]
src/documents/data_models.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "__iter__" (not iterable) [union-attr]
src/documents/data_models.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "__iter__" (not iterable) [union-attr]
src/documents/data_models.py:0: error: Item "list[str]" of "Any | list[str]" has no attribute "values_list" [union-attr]
src/documents/data_models.py:0: error: Item "list[str]" of "Any | list[str]" has no attribute "values_list" [union-attr]
src/documents/data_models.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/data_models.py:0: error: Value of type "Group | dict[Any, Any]" is not indexable [index]
src/documents/data_models.py:0: error: Value of type "Group | dict[Any, Any]" is not indexable [index]
src/documents/export/sinks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "AbstractContextManager" [type-arg]
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/file_handling.py:0: error: Argument 1 to "format_filename" has incompatible type "Document | None"; expected "Document" [arg-type]
src/documents/file_handling.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/file_handling.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/file_handling.py:0: error: Item "None" of "Document | None" has no attribute "pk" [union-attr]
src/documents/file_handling.py:0: error: Item "None" of "Document | None" has no attribute "storage_path" [union-attr]
src/documents/file_handling.py:0: error: Item "None" of "Document | None" has no attribute "storage_path" [union-attr]
src/documents/filters.py:0: error: "SharedByUser" has no attribute "model" [attr-defined]
src/documents/filters.py:0: error: "def wrapper(*args: Any, validation_prefix: Any = ..., **kwargs: Any) -> Any" has no attribute "__signature__" [attr-defined]
src/documents/filters.py:0: error: "type[Model]" has no attribute "objects" [attr-defined]
src/documents/filters.py:0: error: "type[Model]" has no attribute "objects" [attr-defined]
src/documents/filters.py:0: error: Argument "child" to "ListField" has incompatible type "BooleanField | None"; expected "Field[Any, Any, Any, Any]" [arg-type]
src/documents/filters.py:0: error: Argument "child" to "ListField" has incompatible type "BooleanField | None"; expected "Field[Any, Any, Any, Any]" [arg-type]
src/documents/filters.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "CharField", variable has type "BooleanField | None") [assignment]
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "Field[Any, Any, Any, Any]", variable has type "BooleanField | None") [assignment]
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "IntegerField", variable has type "BooleanField | None") [assignment]
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "ListField", variable has type "BooleanField | None") [assignment]
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "ListField", variable has type "BooleanField | None") [assignment]
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "ListField", variable has type "BooleanField | None") [assignment]
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "MonetaryAmountField", variable has type "BooleanField | None") [assignment]
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "SelectField", variable has type "BooleanField | None") [assignment]
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "Sum", variable has type "Subquery[Field[Any, Any]] | None") [assignment]
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "list[str]") [assignment]
src/documents/filters.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
src/documents/filters.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
src/documents/filters.py:0: error: Item "None" of "BooleanField | None" has no attribute "allow_null" [union-attr]
src/documents/filters.py:0: error: Missing type arguments for generic type "Callable" [type-arg]
src/documents/filters.py:0: error: Missing type arguments for generic type "Field" [type-arg]
src/documents/filters.py:0: error: Need type annotation for "_annotations" (hint: "_annotations: dict[<type>, <type>] = ...") [var-annotated]
src/documents/filters.py:0: error: Need type annotation for "_model_serializer" [var-annotated]
src/documents/filters.py:0: error: Value of type "Any | None" is not indexable [index]
src/documents/loggers.py:0: error: "LoggingMixin" has no attribute "logging_name" [attr-defined]
src/documents/mail.py:0: error: Incompatible types in assignment (expression has type "Message[str, str]", variable has type "bytes") [assignment]
src/documents/management/commands/convert_mariadb_uuid.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/management/commands/convert_mariadb_uuid.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/document_archiver.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/management/commands/document_archiver.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/management/commands/document_consumer.py:0: error: "str" has no attribute "is_file" [attr-defined]
src/documents/management/commands/document_consumer.py:0: error: Argument 1 to "track" of "FileStabilityTracker" has incompatible type "str"; expected "Path" [arg-type]
src/documents/management/commands/document_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/document_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/document_consumer.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "str") [assignment]
src/documents/management/commands/document_create_classifier.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/document_exporter.py:0: error: Argument 1 to "add" of "set" has incompatible type "Path"; expected "str" [arg-type]
src/documents/management/commands/document_exporter.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/document_exporter.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/document_exporter.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "Path") [assignment]
src/documents/management/commands/document_exporter.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_exporter.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_exporter.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_exporter.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_exporter.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_exporter.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_exporter.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_exporter.py:0: error: Skipping analyzing "allauth.mfa.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/management/commands/document_exporter.py:0: error: Skipping analyzing "allauth.socialaccount.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/management/commands/document_exporter.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/management/commands/document_fuzzy_match.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/management/commands/document_fuzzy_match.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/management/commands/document_fuzzy_match.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/management/commands/document_fuzzy_match.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/management/commands/document_importer.py:0: error: Argument 1 to "create_source_path_directory" has incompatible type "Path | None"; expected "Path" [arg-type]
src/documents/management/commands/document_importer.py:0: error: Argument 2 to "copy_file_with_basic_stats" has incompatible type "Path | None"; expected "Path | str" [arg-type]
src/documents/management/commands/document_importer.py:0: error: Attribute "version" already defined on line 0 [no-redef]
src/documents/management/commands/document_importer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/document_importer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/document_importer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/document_importer.py:0: error: Incompatible types in assignment (expression has type "str | None", base class "CryptMixin" defined the type as "str") [assignment]
src/documents/management/commands/document_importer.py:0: error: Missing type arguments for generic type "Generator" [type-arg]
src/documents/management/commands/document_importer.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_importer.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_importer.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_importer.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_importer.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_importer.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_importer.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_importer.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/document_importer.py:0: error: Need type annotation for "manifest_paths" (hint: "manifest_paths: list[<type>] = ...") [var-annotated]
src/documents/management/commands/document_importer.py:0: error: Skipping analyzing "auditlog.registry": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/management/commands/document_importer.py:0: error: Skipping analyzing "ijson": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/management/commands/document_index.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/management/commands/document_index.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/management/commands/document_renamer.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/management/commands/document_retagger.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/document_retagger.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/document_thumbnails.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/management/commands/document_thumbnails.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/manage_superuser.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/management/commands/manage_superuser.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/management/commands/mixins.py:0: error: Attribute "kdf_algorithm" already defined on line 0 [no-redef]
src/documents/management/commands/mixins.py:0: error: Attribute "key_iterations" already defined on line 0 [no-redef]
src/documents/management/commands/mixins.py:0: error: Attribute "key_size" already defined on line 0 [no-redef]
src/documents/management/commands/mixins.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/management/commands/prune_audit_logs.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/management/commands/prune_audit_logs.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/matching.py:0: error: Argument 1 to "existing_document_matches_workflow" has incompatible type "ConsumableDocument | Document"; expected "Document" [arg-type]
src/documents/matching.py:0: error: Argument 1 to "issubset" of "set" has incompatible type "set[int] | None"; expected "Iterable[object]" [arg-type]
src/documents/matching.py:0: error: Argument 1 to "matches" has incompatible type "WorkflowTrigger"; expected "MatchingModel" [arg-type]
src/documents/matching.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/matching.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/documents/matching.py:0: error: Unsupported left operand type for & ("None") [operator]
src/documents/matching.py:0: error: Unsupported left operand type for & ("None") [operator]
src/documents/migrations/0001_squashed.py:0: error: Skipping analyzing "multiselectfield": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/migrations/0001_squashed.py:0: error: Skipping analyzing "multiselectfield.db": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/migrations/0001_squashed.py:0: error: Skipping analyzing "multiselectfield.db.fields": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/migrations/0007_sharelinkbundle.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/migrations/0007_sharelinkbundle.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/migrations/0014_savedview_visibility_to_ui_settings.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/migrations/0014_savedview_visibility_to_ui_settings.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/migrations/0014_savedview_visibility_to_ui_settings.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/migrations/0016_sha256_checksums.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/migrations/0016_sha256_checksums.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/migrations/0017_migrate_fulltext_query_field_prefixes.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/migrations/0018_saved_view_simple_search_rules.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/models.py:0: error: Couldn't resolve related manager 'documents' for relation 'documents.models.Document.correspondent'. [django-manager-missing]
src/documents/models.py:0: error: Couldn't resolve related manager 'documents' for relation 'documents.models.Document.document_type'. [django-manager-missing]
src/documents/models.py:0: error: Couldn't resolve related manager 'documents' for relation 'documents.models.Document.storage_path'. [django-manager-missing]
src/documents/models.py:0: error: Couldn't resolve related manager 'fields' for relation 'documents.models.CustomFieldInstance.field'. [django-manager-missing]
src/documents/models.py:0: error: Couldn't resolve related manager 'runs' for relation 'documents.models.WorkflowRun.workflow'. [django-manager-missing]
src/documents/models.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/models.py:0: error: Signature of "delete" incompatible with supertype "django.db.models.base.Model" [override]
src/documents/models.py:0: error: Skipping analyzing "auditlog.registry": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/models.py:0: error: Skipping analyzing "django_softdelete.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/models.py:0: error: Skipping analyzing "multiselectfield": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/models.py:0: error: Skipping analyzing "treenode.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/models.py:0: error: Unexpected keyword argument "transaction_id" for "delete" of "Model" [call-arg]
src/documents/models.py:0: error: Unexpected keyword argument "transaction_id" for "delete" of "QuerySet" [call-arg]
src/documents/parsers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/permissions.py:0: error: "type[Model]" has no attribute "global_objects" [attr-defined]
src/documents/permissions.py:0: error: "type[Model]" has no attribute "objects" [attr-defined]
src/documents/permissions.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/permissions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/permissions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/permissions.py:0: error: Item "list[str]" of "Any | list[str] | QuerySet[User, User]" has no attribute "exclude" [union-attr]
src/documents/permissions.py:0: error: Item "list[str]" of "Any | list[str] | QuerySet[User, User]" has no attribute "exists" [union-attr]
src/documents/permissions.py:0: error: Item "list[str]" of "Any | list[str] | QuerySet[User, User]" has no attribute "exists" [union-attr]
src/documents/permissions.py:0: error: Missing type arguments for generic type "QuerySet" [type-arg]
src/documents/permissions.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/permissions.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/permissions.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/permissions.py:0: error: Type argument "int" of "QuerySet" must be a subtype of "Model" [type-var]
src/documents/permissions.py:0: error: Type argument "int" of "QuerySet" must be a subtype of "Model" [type-var]
src/documents/plugins/helpers.py:0: error: Skipping analyzing "channels_redis.pubsub": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/regex.py:0: error: "error" has no attribute "msg" [attr-defined]
src/documents/regex.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/regex.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/regex.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/regex.py:0: error: Missing type arguments for generic type "Pattern" [type-arg]
src/documents/sanity_checker.py:0: error: Unused "type: ignore" comment [unused-ignore]
src/documents/schema.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/schema.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/schema.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/search/_backend.py:0: error: "None" has no attribute "acquire" [attr-defined]
src/documents/search/_backend.py:0: error: Argument "args" to "apply_async" of "Task" has incompatible type "list[int]"; expected "tuple[Any, ...] | None" [arg-type]
src/documents/search/_backend.py:0: error: Argument "args" to "apply_async" of "Task" has incompatible type "list[int]"; expected "tuple[Any, ...] | None" [arg-type]
src/documents/search/_backend.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/search/_backend.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/search/_backend.py:0: error: Incompatible types in assignment (expression has type "SoftFileLock", variable has type "None") [assignment]
src/documents/search/_backend.py:0: error: List comprehension has incompatible type List[tuple[DocAddress, Any]]; expected List[tuple[DocAddress]] [misc]
src/documents/search/_backend.py:0: error: List comprehension has incompatible type List[tuple[DocAddress, Any]]; expected List[tuple[DocAddress]] [misc]
src/documents/search/_backend.py:0: error: Return type "Iterator[tuple[Document, ViewerGrant]]" of "__iter__" incompatible with return type "Iterator[Document]" in supertype "documents.utils.QuerySetStream" [override]
src/documents/search/_backend.py:0: error: Tuple index out of range [misc]
src/documents/search/_backend.py:0: error: Tuple index out of range [misc]
src/documents/search/_backend.py:0: error: Tuple index out of range [misc]
src/documents/search/_query.py:0: error: Argument "field" to "Fuzzy" has incompatible type "FieldRef | None"; expected "FieldRef" [arg-type]
src/documents/search/_query.py:0: error: Argument 3 to "Term" has incompatible type "**dict[str, int | None]"; expected "bool" [arg-type]
src/documents/search/_query.py:0: error: Argument 3 to "Term" has incompatible type "**dict[str, int | None]"; expected "bool" [arg-type]
src/documents/search/_query.py:0: error: Unexpected keyword argument "children" for "Node" [call-arg]
src/documents/search/_schema.py:0: error: Redundant cast to "Path" [redundant-cast]
src/documents/search/_schema.py:0: error: Unexpected keyword argument "fast" for "add_json_field" of "SchemaBuilder" [call-arg]
src/documents/serialisers.py:0: error: "type[_MT?]" has no attribute "_meta" [attr-defined]
src/documents/serialisers.py:0: error: "type[_MT?]" has no attribute "objects" [attr-defined]
src/documents/serialisers.py:0: error: "type[_MT?]" has no attribute "objects" [attr-defined]
src/documents/serialisers.py:0: error: "type[_MT?]" has no attribute "objects" [attr-defined]
src/documents/serialisers.py:0: error: Argument "choices" to "ChoiceField" has incompatible type "type[FieldDataType]"; expected "Sequence[Any]" [arg-type]
src/documents/serialisers.py:0: error: Argument "default" to "MultipleChoiceField" has incompatible type "set[DocumentSource]"; expected "set[str | int] | set[str] | set[int] | Callable[[], set[str | int] | set[str] | set[int]] | _Empty | None" [arg-type]
src/documents/serialisers.py:0: error: Argument 1 of "get_value" is incompatible with supertype "rest_framework.fields.Field"; supertype defines the argument type as "Mapping[str, Any]" [override]
src/documents/serialisers.py:0: error: Argument 1 of "update" is incompatible with supertype "rest_framework.serializers.BaseSerializer"; supertype defines the argument type as "dict[str, Any]" [override]
src/documents/serialisers.py:0: error: Argument 1 to "__get__" of "BaseManager" has incompatible type "PrimaryKeyRelatedField[Any]"; expected "Options[Any] | None" [arg-type]
src/documents/serialisers.py:0: error: Argument 1 to "get_value_field_name" of "CustomFieldInstance" has incompatible type "str"; expected "FieldDataType" [arg-type]
src/documents/serialisers.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
src/documents/serialisers.py:0: error: Argument 1 to "list" has incompatible type "QuerySet[Document, TypedDict({'id': int, 'title': str, 'deleted_at': datetime | None})]"; expected "Iterable[dict[str, Any]]" [arg-type]
src/documents/serialisers.py:0: error: Expected iterable as variadic argument [misc]
src/documents/serialisers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/serialisers.py:0: error: Incompatible types in assignment (expression has type "PrimaryKeyRelatedField[Tag]", base class "Field" defined the type as "BaseSerializer[Any]") [assignment]
src/documents/serialisers.py:0: error: Incompatible types in assignment (expression has type "Sequence[str] | tuple[Lower]", variable has type "Sequence[str] | None") [assignment]
src/documents/serialisers.py:0: error: Incompatible types in assignment (expression has type "WorkflowActionWebhookSerializer", variable has type "WorkflowActionEmailSerializer") [assignment]
src/documents/serialisers.py:0: error: Incompatible types in assignment (expression has type "type[Correspondent]", variable has type "type[Tag] | None") [assignment]
src/documents/serialisers.py:0: error: Incompatible types in assignment (expression has type "type[DocumentType]", variable has type "type[Tag] | None") [assignment]
src/documents/serialisers.py:0: error: Incompatible types in assignment (expression has type "type[SearchResultListSerializer]", base class "Meta" defined the type as "type[OwnedObjectListSerializer]") [assignment]
src/documents/serialisers.py:0: error: Incompatible types in assignment (expression has type "type[StoragePath]", variable has type "type[Tag] | None") [assignment]
src/documents/serialisers.py:0: error: Item "Field[Any, Any, Any, Any]" of "Field[Any, Any, Any, Any] | None" has no attribute "fetch_documents" [union-attr]
src/documents/serialisers.py:0: error: Item "Field[Any, Any, Any, Any]" of "Field[Any, Any, Any, Any] | None" has no attribute "get_shared_object_pks" [union-attr]
src/documents/serialisers.py:0: error: Item "Field[Any, Any, Any, Any]" of "Field[Any, Any, Any, Any] | None" has no attribute "get_shared_object_pks" [union-attr]
src/documents/serialisers.py:0: error: Item "None" of "Any | None" has no attribute "name" [union-attr]
src/documents/serialisers.py:0: error: Item "None" of "Any | None" has no attribute "pk" [union-attr]
src/documents/serialisers.py:0: error: Item "None" of "CustomField | None" has no attribute "name" [union-attr]
src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any] | None" has no attribute "context" [union-attr]
src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any] | None" has no attribute "context" [union-attr]
src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any] | None" has no attribute "context" [union-attr]
src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any] | None" has no attribute "fetch_documents" [union-attr]
src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any] | None" has no attribute "get_shared_object_pks" [union-attr]
src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any] | None" has no attribute "get_shared_object_pks" [union-attr]
src/documents/serialisers.py:0: error: Item "list[str]" of "Any | list[str]" has no attribute "values_list" [union-attr]
src/documents/serialisers.py:0: error: Missing type arguments for generic type "Field" [type-arg]
src/documents/serialisers.py:0: error: Missing type arguments for generic type "Iterable" [type-arg]
src/documents/serialisers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/serialisers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/serialisers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/serialisers.py:0: error: Need type annotation for "document" [var-annotated]
src/documents/serialisers.py:0: error: Need type annotation for "documents" [var-annotated]
src/documents/serialisers.py:0: error: Need type annotation for "permissions_dict" [var-annotated]
src/documents/serialisers.py:0: error: No overload variant of "get" of "dict" matches argument types "str", "str" [call-overload]
src/documents/serialisers.py:0: error: No overload variant of "get" of "dict" matches argument types "str", "str" [call-overload]
src/documents/serialisers.py:0: error: No overload variant of "get" of "dict" matches argument types "str", "str" [call-overload]
src/documents/serialisers.py:0: error: Skipping analyzing "auditlog.context": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/serialisers.py:0: error: Unsupported target for indexed assignment ("Mapping[str, Any] | Any") [index]
src/documents/serialisers.py:0: error: Unsupported target for indexed assignment ("Mapping[str, Any] | Any") [index]
src/documents/serialisers.py:0: error: Unsupported target for indexed assignment ("Mapping[str, Any] | Any") [index]
src/documents/serialisers.py:0: error: Unsupported target for indexed assignment ("Mapping[str, Any]") [index]
src/documents/serialisers.py:0: error: Value of type "Any | None" is not indexable [index]
src/documents/serialisers.py:0: error: Value of type "Any | None" is not indexable [index]
src/documents/serialisers.py:0: error: Value of type "Match[str] | None" is not indexable [index]
src/documents/signals/handlers.py:0: error: "BaseDatabaseWrapper" has no attribute "close_pool" [attr-defined]
src/documents/signals/handlers.py:0: error: "BaseDatabaseWrapper" has no attribute "close_pool" [attr-defined]
src/documents/signals/handlers.py:0: error: "Task[[int, int], Any]" has no attribute "delay_on_commit" [attr-defined]
src/documents/signals/handlers.py:0: error: Argument 1 to "Path" has incompatible type "Any | None"; expected "str | PathLike[str]" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 1 to "Path" has incompatible type "Any | None"; expected "str | PathLike[str]" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 1 to "Path" has incompatible type "Path | Any | None"; expected "str | PathLike[str]" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 1 to "create_source_path_directory" has incompatible type "Path | Any | None"; expected "Path" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 1 to "move" has incompatible type "Path | Any | None"; expected "str | PathLike[str]" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 1 to "move" has incompatible type "Path | Any | None"; expected "str | PathLike[str]" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 2 to "apply_assignment_to_document" has incompatible type "Document | ConsumableDocument"; expected "Document" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 2 to "apply_removal_to_document" has incompatible type "Document | ConsumableDocument"; expected "Document" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 2 to "match_correspondents" has incompatible type "DocumentClassifier | None"; expected "DocumentClassifier" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 2 to "match_document_types" has incompatible type "DocumentClassifier | None"; expected "DocumentClassifier" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 2 to "match_storage_paths" has incompatible type "DocumentClassifier | None"; expected "DocumentClassifier" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 2 to "match_tags" has incompatible type "DocumentClassifier | None"; expected "DocumentClassifier" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 2 to "validate_move" has incompatible type "Path | Any | None"; expected "Path" [arg-type]
src/documents/signals/handlers.py:0: error: Argument 3 to "validate_move" has incompatible type "Path | Any | None"; expected "Path" [arg-type]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/signals/handlers.py:0: error: Incompatible types in assignment (expression has type "Any | None", target has type "datetime") [assignment]
src/documents/signals/handlers.py:0: error: Incompatible types in assignment (expression has type "str", target has type "datetime") [assignment]
src/documents/signals/handlers.py:0: error: Incompatible types in assignment (expression has type "tuple[Any, Any, Any]", variable has type "tuple[Any, Any]") [assignment]
src/documents/signals/handlers.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "pk" [union-attr]
src/documents/signals/handlers.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "save" [union-attr]
src/documents/signals/handlers.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "source_path" [union-attr]
src/documents/signals/handlers.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "title" [union-attr]
src/documents/signals/handlers.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
src/documents/signals/handlers.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
src/documents/signals/handlers.py:0: error: Item "None" of "Any | None" has no attribute "remove" [union-attr]
src/documents/signals/handlers.py:0: error: Item "None" of "Path | Any | None" has no attribute "is_file" [union-attr]
src/documents/signals/handlers.py:0: error: Item "None" of "Path | Any | None" has no attribute "is_file" [union-attr]
src/documents/signals/handlers.py:0: error: Item "None" of "Path | Any | None" has no attribute "is_file" [union-attr]
src/documents/signals/handlers.py:0: error: Missing return statement [return]
src/documents/signals/handlers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/signals/handlers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/signals/handlers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/signals/handlers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/signals/handlers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/signals/handlers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/signals/handlers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/signals/handlers.py:0: error: Unsupported right operand type for in ("Any | None") [operator]
src/documents/signals/handlers.py:0: error: Unsupported target for indexed assignment ("Any | None") [index]
src/documents/signals/handlers.py:0: error: Value of type variable "_StrPathT" of "move" cannot be "Path | Any | None" [type-var]
src/documents/signals/handlers.py:0: error: Value of type variable "_StrPathT" of "move" cannot be "Path | Any | None" [type-var]
src/documents/tasks.py:0: error: Argument 1 to "compute_checksum" has incompatible type "Path | None"; expected "Path" [arg-type]
src/documents/tasks.py:0: error: Argument 1 to "create_source_path_directory" has incompatible type "Path | None"; expected "Path" [arg-type]
src/documents/tasks.py:0: error: Argument 1 to "move" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tasks.py:0: error: Argument 4 to "ConsumeTaskPlugin" has incompatible type "str"; expected "Path" [arg-type]
src/documents/tasks.py:0: error: Argument 5 to "ConsumeTaskPlugin" has incompatible type "str | None"; expected "str" [arg-type]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tasks.py:0: error: Incompatible return value type (got "str | None", expected "ConsumeFileSuccessResult | ConsumeFileStoppedResult | ConsumeFileDuplicateResult | None") [return-value]
src/documents/tasks.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "str") [assignment]
src/documents/tasks.py:0: error: Incompatible types in assignment (expression has type "QuerySet[Document, Document]", variable has type "UnknownQuerySet[Document, Document]") [assignment]
src/documents/tasks.py:0: error: Missing type arguments for generic type "Task" [type-arg]
src/documents/tasks.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/tasks.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/tasks.py:0: error: Value of type variable "_StrPathT" of "move" cannot be "Path | None" [type-var]
src/documents/templating/environment.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/templating/environment.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/templating/filepath.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/templating/filepath.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/templating/filepath.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/templating/filepath.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/templating/filepath.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/templating/filepath.py:0: error: Incompatible types in assignment (expression has type "QuerySet[Tag, Tag]", variable has type "list[Tag]") [assignment]
src/documents/templating/filepath.py:0: error: Need type annotation for "field_data" [var-annotated]
src/documents/templating/filters.py:0: error: Incompatible types in assignment (expression has type "date | None", variable has type "str | datetime") [assignment]
src/documents/templating/filters.py:0: error: Incompatible types in assignment (expression has type "datetime | None", variable has type "date | datetime | str") [assignment]
src/documents/templating/filters.py:0: error: Item "str" of "str | datetime" has no attribute "strftime" [union-attr]
src/documents/templating/utils.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/templating/workflows.py:0: error: Incompatible return value type (got "None", expected "str") [return-value]
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Incompatible types in assignment (expression has type "StringIO", variable has type "OutputWrapper") [assignment]
src/documents/tests/management/test_management_base_cmd.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/management/test_management_base_cmd.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/management/test_management_base_cmd.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/management/test_management_base_cmd.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/management/test_management_base_cmd.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/management/test_management_base_cmd.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/management/test_management_base_cmd.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/tests/management/test_management_base_cmd.py:0: error: Need type annotation for "result" [var-annotated]
src/documents/tests/management/test_management_base_cmd.py:0: error: Need type annotation for "result" (hint: "result: list[<type>] = ...") [var-annotated]
src/documents/tests/management/test_management_base_cmd.py:0: error: Need type annotation for "results" [var-annotated]
src/documents/tests/search/test_acceptance.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/search/test_acceptance.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/search/test_backend.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/search/test_backend.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/search/test_backend.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/search/test_backend.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/search/test_cjk_clause.py:0: error: Argument 1 to "_build_cjk_query" has incompatible type "None"; expected "Index" [arg-type]
src/documents/tests/search/test_cjk_clause.py:0: error: Argument 1 to "_parse_cjk_text" has incompatible type "_RaisingIndex"; expected "Index" [arg-type]
src/documents/tests/search/test_cjk_clause.py:0: error: Module "pytest_django.fixtures" has no attribute "SettingsWrapper" [attr-defined]
src/documents/tests/search/test_cjk_emit_registry.py:0: error: "None" not callable [misc]
src/documents/tests/search/test_cjk_emit_registry.py:0: error: "SearchResult" has no attribute "count" [attr-defined]
src/documents/tests/search/test_cjk_leaf_rewrite.py:0: error: "None" not callable [misc]
src/documents/tests/search/test_cjk_widening.py:0: error: Module "pytest_django.fixtures" has no attribute "SettingsWrapper" [attr-defined]
src/documents/tests/search/test_date_keyword_timezone.py:0: error: Module "pytest_django.fixtures" has no attribute "SettingsWrapper" [attr-defined]
src/documents/tests/search/test_fuzzy_scoring.py:0: error: Module "pytest_django.fixtures" has no attribute "SettingsWrapper" [attr-defined]
src/documents/tests/search/test_fuzzy_widening.py:0: error: Argument 1 has incompatible type "*tuple[object, ...]"; expected "Node" [arg-type]
src/documents/tests/search/test_fuzzy_widening.py:0: error: Argument 2 has incompatible type "**dict[str, object]"; expected "Callable[[Term | Phrase], Node] | None" [arg-type]
src/documents/tests/search/test_fuzzy_widening.py:0: error: Argument 2 has incompatible type "**dict[str, object]"; expected "FieldRegistry" [arg-type]
src/documents/tests/search/test_fuzzy_widening.py:0: error: Argument 2 has incompatible type "**dict[str, object]"; expected "Index" [arg-type]
src/documents/tests/search/test_fuzzy_widening.py:0: error: Argument 2 has incompatible type "**dict[str, object]"; expected "Node" [arg-type]
src/documents/tests/search/test_fuzzy_widening.py:0: error: Module "pytest_django.fixtures" has no attribute "SettingsWrapper" [attr-defined]
src/documents/tests/search/test_migration_fulltext_query_field_prefixes.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/search/test_migration_fulltext_query_field_prefixes.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/search/test_negated_leaf_ids.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/search/test_permission_field_isolation.py:0: error: Argument 1 to "grant_object" has incompatible type "Group | None"; expected "User | Group" [arg-type]
src/documents/tests/search/test_query.py:0: error: "SearchResult" has no attribute "count" [attr-defined]
src/documents/tests/search/test_query.py:0: error: "SearchResult" has no attribute "count" [attr-defined]
src/documents/tests/search/test_query.py:0: error: "SearchResult" has no attribute "count" [attr-defined]
src/documents/tests/search/test_query.py:0: error: "SearchResult" has no attribute "count" [attr-defined]
src/documents/tests/search/test_query.py:0: error: "SearchResult" has no attribute "count" [attr-defined]
src/documents/tests/search/test_query.py:0: error: "SearchResult" has no attribute "count" [attr-defined]
src/documents/tests/search/test_query.py:0: error: Argument 2 to "build_permission_filter" has incompatible type "AbstractBaseUser"; expected "AbstractUser" [arg-type]
src/documents/tests/search/test_query.py:0: error: Argument 2 to "build_permission_filter" has incompatible type "AbstractBaseUser"; expected "AbstractUser" [arg-type]
src/documents/tests/search/test_query.py:0: error: Argument 2 to "build_permission_filter" has incompatible type "AbstractBaseUser"; expected "AbstractUser" [arg-type]
src/documents/tests/search/test_query.py:0: error: Argument 2 to "build_permission_filter" has incompatible type "AbstractBaseUser"; expected "AbstractUser" [arg-type]
src/documents/tests/search/test_query.py:0: error: Argument 2 to "build_permission_filter" has incompatible type "AbstractBaseUser"; expected "AbstractUser" [arg-type]
src/documents/tests/search/test_query.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/search/test_query.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/search/test_query.py:0: error: Unexpected attribute "pk" for model "AbstractBaseUser" [misc]
src/documents/tests/search/test_query.py:0: error: Unexpected attribute "pk" for model "AbstractBaseUser" [misc]
src/documents/tests/search/test_query.py:0: error: Unexpected attribute "pk" for model "AbstractBaseUser" [misc]
src/documents/tests/search/test_query.py:0: error: Unexpected attribute "pk" for model "AbstractBaseUser" [misc]
src/documents/tests/search/test_query.py:0: error: Unexpected attribute "pk" for model "AbstractBaseUser" [misc]
src/documents/tests/search/test_schema.py:0: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None]" [index]
src/documents/tests/search/test_schema.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/search/test_schema.py:0: error: Value expression in dictionary comprehension has incompatible type "str | Any"; expected type "dict[Any, Any]" [misc]
src/documents/tests/search/test_schema_fingerprint.py:0: error: Argument 1 to "update" of "MutableMapping" has incompatible type "dict[str, object]"; expected "SupportsKeysAndGetItem[str, str | int | None]" [arg-type]
src/documents/tests/search/test_schema_fingerprint.py:0: error: Incompatible return value type (got "str | Any", expected "list[dict[Any, Any]]") [return-value]
src/documents/tests/search/test_schema_fingerprint.py:0: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None]" [index]
src/documents/tests/search/test_schema_fingerprint.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/search/test_schema_fingerprint.py:0: error: Module "pytest_django.fixtures" has no attribute "SettingsWrapper" [attr-defined]
src/documents/tests/search/test_tokenizer.py:0: error: "SearchResult" has no attribute "count" [attr-defined]
src/documents/tests/search/test_tokenizer.py:0: error: "SearchResult" has no attribute "count" [attr-defined]
src/documents/tests/search/test_tokenizer.py:0: error: "SearchResult" has no attribute "count" [attr-defined]
src/documents/tests/search/test_tokenizer.py:0: error: "SearchResult" has no attribute "count" [attr-defined]
src/documents/tests/search/test_widen_leaf.py:0: error: Argument "child" to "Boosted" has incompatible type "Node | None"; expected "Node" [arg-type]
src/documents/tests/search/test_widen_leaf.py:0: error: Argument "children" to "Or" has incompatible type "tuple[Term, Node | None]"; expected "tuple[Node, ...]" [arg-type]
src/documents/tests/search/test_widen_leaf.py:0: error: Argument "children" to "Or" has incompatible type "tuple[Term, Node | None]"; expected "tuple[Node, ...]" [arg-type]
src/documents/tests/search/test_widen_leaf.py:0: error: Argument "children" to "Or" has incompatible type "tuple[Term, Node | None]"; expected "tuple[Node, ...]" [arg-type]
src/documents/tests/test_admin.py:0: error: "PaperlessUserForm" has no attribute "request" [attr-defined]
src/documents/tests/test_admin.py:0: error: "PaperlessUserForm" has no attribute "request" [attr-defined]
src/documents/tests/test_admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_admin.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_app_config.py:0: error: "ImageFile" has no attribute "text" [attr-defined]
src/documents/tests/test_api_app_config.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_app_config.py:0: error: List item 0 has incompatible type "tuple[str, dict[str, int], bytes]"; expected "tuple[str, int | list[int] | str, bytes]" [list-item]
src/documents/tests/test_api_app_config.py:0: error: List item 1 has incompatible type "tuple[str, dict[str, None], bytes]"; expected "tuple[str, int | list[int] | str, bytes]" [list-item]
src/documents/tests/test_api_bulk_download.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_bulk_download.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_bulk_download.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_bulk_download.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_bulk_download.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_bulk_download.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_bulk_download.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_bulk_download.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_bulk_download.py:0: error: Value of type variable "_StrPathT" of "copy" cannot be "Path | None" [type-var]
src/documents/tests/test_api_bulk_edit.py:0: error: "type[MatchingModel]" has no attribute "objects" [attr-defined]
src/documents/tests/test_api_bulk_edit.py:0: error: "type[MatchingModel]" has no attribute "objects" [attr-defined]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/tests/test_api_chat.py:0: error: "_MonkeyPatchedResponse" has no attribute "streaming_content" [attr-defined]
src/documents/tests/test_api_custom_fields.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_document_versions.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_document_versions.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_document_versions.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_document_versions.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_document_versions.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_documents.py:0: error: "None" object is not iterable [misc]
src/documents/tests/test_api_documents.py:0: error: "object" has no attribute "get" [attr-defined]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "assertCountEqual" of "TestCase" has incompatible type "list[int] | None"; expected "Iterable[Any]" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 2 to "assertNotIn" of "TestCase" has incompatible type "str | None"; expected "Iterable[Any] | Container[Any]" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 2 to "assertNotIn" of "TestCase" has incompatible type "str | None"; expected "Iterable[Any] | Container[Any]" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Argument 3 to "generic" of "APIClient" has incompatible type "bytes"; expected "str" [arg-type]
src/documents/tests/test_api_documents.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_documents.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_documents.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_documents.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_documents.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_documents.py:0: error: Item "None" of "SavedViewFilterRule | None" has no attribute "value" [union-attr]
src/documents/tests/test_api_documents.py:0: error: Value of type "Any | None" is not indexable [index]
src/documents/tests/test_api_documents.py:0: error: Value of type "Any | None" is not indexable [index]
src/documents/tests/test_api_documents.py:0: error: Value of type "Any | None" is not indexable [index]
src/documents/tests/test_api_documents.py:0: error: Value of type "object" is not indexable [index]
src/documents/tests/test_api_documents.py:0: error: Value of type "object" is not indexable [index]
src/documents/tests/test_api_documents.py:0: error: Value of type variable "_StrPathT" of "copy" cannot be "Path | None" [type-var]
src/documents/tests/test_api_documents.py:0: error: Value of type variable "_StrPathT" of "copy" cannot be "Path | None" [type-var]
src/documents/tests/test_api_email.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_email.py:0: error: Item "None" of "Path | None" has no attribute "stat" [union-attr]
src/documents/tests/test_api_email.py:0: error: Value of type variable "_StrPathT" of "copy" cannot be "Path | None" [type-var]
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Argument 1 to "quote" has incompatible type "str | None"; expected "str" [arg-type]
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: List item 1 has incompatible type "list[str]"; expected "str" [list-item]
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Need type annotation for "documents" (hint: "documents: list[<type>] = ...") [var-annotated]
src/documents/tests/test_api_objects.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_objects.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_objects.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count" [union-attr]
src/documents/tests/test_api_objects.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count" [union-attr]
src/documents/tests/test_api_objects.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_api_permissions.py:0: error: Argument 2 to "get_perms" has incompatible type "Tag | None"; expected "Model" [arg-type]
src/documents/tests/test_api_permissions.py:0: error: Argument 2 to "get_perms" has incompatible type "Tag | None"; expected "Model" [arg-type]
src/documents/tests/test_api_permissions.py:0: error: Argument 2 to "has_perm" of "ObjectPermissionChecker" has incompatible type "Tag | None"; expected "Model" [arg-type]
src/documents/tests/test_api_permissions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_permissions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_permissions.py:0: error: Item "None" of "Tag | None" has no attribute "owner" [union-attr]
src/documents/tests/test_api_permissions.py:0: error: Item "None" of "Tag | None" has no attribute "owner" [union-attr]
src/documents/tests/test_api_permissions.py:0: error: Item "None" of "Tag | None" has no attribute "owner" [union-attr]
src/documents/tests/test_api_permissions.py:0: error: Skipping analyzing "allauth.mfa.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/tests/test_api_permissions.py:0: error: Skipping analyzing "allauth.mfa.totp.internal": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/tests/test_api_post_document_nfc.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: "User" has no attribute "socialaccount_set"; maybe "mailaccount_set"? [attr-defined]
src/documents/tests/test_api_profile.py:0: error: "User" has no attribute "socialaccount_set"; maybe "mailaccount_set"? [attr-defined]
src/documents/tests/test_api_profile.py:0: error: "User" has no attribute "socialaccount_set"; maybe "mailaccount_set"? [attr-defined]
src/documents/tests/test_api_profile.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Item "None" of "Token | None" has no attribute "key" [union-attr]
src/documents/tests/test_api_profile.py:0: error: Skipping analyzing "allauth.mfa.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/tests/test_api_profile.py:0: error: Skipping analyzing "allauth.socialaccount.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/tests/test_api_schema.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_api_schema.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_api_schema.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_schema.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
src/documents/tests/test_api_search.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_api_search.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_api_search.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_search.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_search.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_search.py:0: error: Need type annotation for "seen_ids" (hint: "seen_ids: list[<type>] = ...") [var-annotated]
src/documents/tests/test_api_search.py:0: error: Unsupported left operand type for < ("None") [operator]
src/documents/tests/test_api_search.py:0: error: Unsupported operand types for < ("int" and "None") [operator]
src/documents/tests/test_api_search.py:0: error: Unsupported operand types for > ("int" and "None") [operator]
src/documents/tests/test_api_search.py:0: error: Value of type variable "SupportsRichComparisonT" of "max" cannot be "int | None" [type-var]
src/documents/tests/test_api_search.py:0: error: Value of type variable "SupportsRichComparisonT" of "min" cannot be "int | None" [type-var]
src/documents/tests/test_api_status.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_status.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_status.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_status.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_status.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_status.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_status.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_status.py:0: error: Need type annotation for "ping_response" [var-annotated]
src/documents/tests/test_api_tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_uisettings.py:0: error: Argument 1 to "assertDictEqual" of "TestCase" has incompatible type "Any | None"; expected "Mapping[Any, object]" [arg-type]
src/documents/tests/test_api_workflows.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_api_workflows.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_api_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "Correspondent | None" has no attribute "pk" [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowAction | None" has no attribute "ai_create_missing" [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowAction | None" has no attribute "ai_overwrite_existing" [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowAction | None" has no attribute "ai_suggestion_fields" [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/test_barcodes.py:0: error: "GetReaderPluginMixin" has no attribute "dirs" [attr-defined]
src/documents/tests/test_barcodes.py:0: error: Argument 1 to "contextmanager" has incompatible type "Callable[[TestAsnBarcode, Path], BarcodePlugin]"; expected "Callable[[TestAsnBarcode, Path], Iterator[Never]]" [arg-type]
src/documents/tests/test_barcodes.py:0: error: Argument 1 to "contextmanager" has incompatible type "Callable[[TestTagBarcode, Path], BarcodePlugin]"; expected "Callable[[TestTagBarcode, Path], Iterator[Never]]" [arg-type]
src/documents/tests/test_barcodes.py:0: error: Argument 1 to "get_reader" of "GetReaderPluginMixin" has incompatible type "str"; expected "Path" [arg-type]
src/documents/tests/test_barcodes.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "str") [assignment]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: Need type annotation for "reader" [var-annotated]
src/documents/tests/test_barcodes.py:0: error: The return type of a generator function should be "Generator" or one of its supertypes [misc]
src/documents/tests/test_barcodes.py:0: error: The return type of a generator function should be "Generator" or one of its supertypes [misc]
src/documents/tests/test_bulk_edit.py:0: error: Argument 2 to "set_correspondent" has incompatible type "None"; expected "Correspondent" [arg-type]
src/documents/tests/test_bulk_edit.py:0: error: Argument 2 to "set_correspondent" has incompatible type "int"; expected "Correspondent" [arg-type]
src/documents/tests/test_bulk_edit.py:0: error: Argument 2 to "set_document_type" has incompatible type "None"; expected "DocumentType" [arg-type]
src/documents/tests/test_bulk_edit.py:0: error: Argument 2 to "set_document_type" has incompatible type "int"; expected "DocumentType" [arg-type]
src/documents/tests/test_bulk_edit.py:0: error: Argument 2 to "set_storage_path" has incompatible type "None"; expected "StoragePath" [arg-type]
src/documents/tests/test_bulk_edit.py:0: error: Argument 2 to "set_storage_path" has incompatible type "int"; expected "StoragePath" [arg-type]
src/documents/tests/test_bulk_edit.py:0: error: Argument 2 to "set_storage_path" has incompatible type "int"; expected "StoragePath" [arg-type]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count" [union-attr]
src/documents/tests/test_bulk_edit.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count" [union-attr]
src/documents/tests/test_bulk_edit.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count" [union-attr]
src/documents/tests/test_bulk_edit.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count" [union-attr]
src/documents/tests/test_bulk_edit.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count" [union-attr]
src/documents/tests/test_bulk_edit.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count" [union-attr]
src/documents/tests/test_bulk_edit.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_bulk_edit.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_bulk_edit.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_classifier.py:0: error: "None" has no attribute "classes_" [attr-defined]
src/documents/tests/test_classifier.py:0: error: "None" has no attribute "classes_" [attr-defined]
src/documents/tests/test_classifier.py:0: error: "None" has no attribute "classes_" [attr-defined]
src/documents/tests/test_classifier.py:0: error: "None" has no attribute "transform" [attr-defined]
src/documents/tests/test_classifier.py:0: error: "None" has no attribute "transform" [attr-defined]
src/documents/tests/test_classifier.py:0: error: "None" has no attribute "transform" [attr-defined]
src/documents/tests/test_classifier.py:0: error: Cannot assign to a method [method-assign]
src/documents/tests/test_classifier.py:0: error: Cannot assign to a method [method-assign]
src/documents/tests/test_classifier.py:0: error: Cannot assign to a method [method-assign]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Incompatible types in assignment (expression has type "Mock", variable has type "None") [assignment]
src/documents/tests/test_classifier.py:0: error: Invalid base class "real_catch_warnings" [misc]
src/documents/tests/test_classifier.py:0: error: Module "sklearn.exceptions" has no attribute "InconsistentVersionWarning" [attr-defined]
src/documents/tests/test_classifier.py:0: error: Variable "real_catch_warnings" is not valid as a type [valid-type]
src/documents/tests/test_consumer.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_consumer.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_consumer.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_consumer.py:0: error: Argument 1 to "len" has incompatible type "Any | None"; expected "Sized" [arg-type]
src/documents/tests/test_consumer.py:0: error: Argument 1 to "len" has incompatible type "Any | None"; expected "Sized" [arg-type]
src/documents/tests/test_consumer.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Incompatible return value type (got "Path | None", expected "Path") [return-value]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Correspondent | None" has no attribute "id" [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "archive_filename" [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "archive_filename" [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "archive_filename" [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "filename" [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "filename" [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "filename" [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "DocumentType | None" has no attribute "id" [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "StoragePath | None" has no attribute "id" [union-attr]
src/documents/tests/test_consumer.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/test_consumer.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentUpdatedData" has no key "current_progress" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentUpdatedData" has no key "current_progress" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentUpdatedData" has no key "max_progress" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentUpdatedData" has no key "max_progress" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentUpdatedData" has no key "status" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentUpdatedData" has no key "status" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentsDeletedData" has no key "current_progress" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentsDeletedData" has no key "current_progress" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentsDeletedData" has no key "max_progress" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentsDeletedData" has no key "max_progress" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentsDeletedData" has no key "status" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: TypedDict "DocumentsDeletedData" has no key "status" [typeddict-item]
src/documents/tests/test_consumer.py:0: error: Unused "type: ignore" comment [unused-ignore]
src/documents/tests/test_consumer.py:0: error: Unused "type: ignore" comment [unused-ignore]
src/documents/tests/test_consumer.py:0: error: Unused "type: ignore" comment [unused-ignore]
src/documents/tests/test_consumer.py:0: error: Unused "type: ignore" comment [unused-ignore]
src/documents/tests/test_consumer.py:0: error: Unused "type: ignore" comment [unused-ignore]
src/documents/tests/test_consumer.py:0: error: Unused "type: ignore" comment [unused-ignore]
src/documents/tests/test_consumer_archive.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_consumer_archive.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer_archive.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_consumer_archive.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_document_list_effective_content_annotation.py:0: error: Incompatible types in assignment (expression has type "SimpleNamespace", variable has type "Request") [assignment]
src/documents/tests/test_document_list_effective_content_annotation.py:0: error: Incompatible types in assignment (expression has type "SimpleNamespace", variable has type "Request") [assignment]
src/documents/tests/test_double_sided.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_double_sided.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_double_sided.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "Path" has incompatible type "Any | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "Path" has incompatible type "Any | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "Path" has incompatible type "Any | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsNotFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "assertIsNotFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Argument 1 to "create_source_path_directory" has incompatible type "Path | None"; expected "Path" [arg-type]
src/documents/tests/test_file_handling.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Item "None" of "Path | None" has no attribute "write_bytes" [union-attr]
src/documents/tests/test_file_handling.py:0: error: Skipping analyzing "auditlog.context": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/tests/test_filepath_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_filepath_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_filepath_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_filepath_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_filepath_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_filepath_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_filepath_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_filepath_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_filepath_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_filters.py:0: error: Argument 1 to "localize_date" has incompatible type "list[object] | dict[Any, Any] | Literal[1698330605] | None"; expected "date | datetime | str" [arg-type]
src/documents/tests/test_management.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_management.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_management.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_management.py:0: error: Argument 1 to "assertIsNotFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[str] | str" [arg-type]
src/documents/tests/test_management.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_management.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_management.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_management.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/tests/test_management_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_management_exporter.py:0: error: Argument 1 to "call_command" has incompatible type "*list[object]"; expected "BaseCommand | str" [arg-type]
src/documents/tests/test_management_exporter.py:0: error: Argument 1 to "call_command" has incompatible type "*list[object]"; expected "BaseCommand | str" [arg-type]
src/documents/tests/test_management_exporter.py:0: error: Argument 1 to "call_command" has incompatible type "*list[object]"; expected "BaseCommand | str" [arg-type]
src/documents/tests/test_management_exporter.py:0: error: Argument 1 to "call_command" has incompatible type "*list[object]"; expected "BaseCommand | str" [arg-type]
src/documents/tests/test_management_exporter.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_management_exporter.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_management_exporter.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_management_exporter.py:0: error: Item "None" of "MailAccount | None" has no attribute "password" [union-attr]
src/documents/tests/test_management_exporter.py:0: error: Item "None" of "Path | None" has no attribute "read_bytes" [union-attr]
src/documents/tests/test_management_exporter.py:0: error: Skipping analyzing "allauth.socialaccount.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/tests/test_management_fuzzy.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_management_importer.py:0: error: "Model" has no attribute "correspondent_id" [attr-defined]
src/documents/tests/test_management_importer.py:0: error: "Model" has no attribute "correspondent_id" [attr-defined]
src/documents/tests/test_management_importer.py:0: error: "Model" has no attribute "name" [attr-defined]
src/documents/tests/test_management_importer.py:0: error: Item "None" of "Tag | None" has no attribute "name" [union-attr]
src/documents/tests/test_management_importer.py:0: error: Item "None" of "Tag | None" has no attribute "name" [union-attr]
src/documents/tests/test_management_retagger.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_management_retagger.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_management_retagger.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_management_retagger.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_management_superuser.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_merge_documents_as_versions.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/tests/test_migration_saved_view_visibility.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_migration_saved_view_visibility.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_migration_sha256_checksums.py:0: error: "_fixture_teardown" undefined in superclass [misc]
src/documents/tests/test_migration_sha256_checksums.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_migration_share_link_bundle.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_migration_share_link_bundle.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_models.py:0: error: Item "None" of "Document | None" has no attribute "correspondent" [union-attr]
src/documents/tests/test_models.py:0: error: Item "None" of "Document | None" has no attribute "correspondent" [union-attr]
src/documents/tests/test_parsers.py:0: error: "None" not callable [misc]
src/documents/tests/test_parsers.py:0: error: "None" not callable [misc]
src/documents/tests/test_parsers.py:0: error: "None" not callable [misc]
src/documents/tests/test_permission_filtering_security.py:0: error: Argument "classifier" to "match_correspondents" has incompatible type "None"; expected "DocumentClassifier" [arg-type]
src/documents/tests/test_permission_filtering_security.py:0: error: Argument "classifier" to "match_document_types" has incompatible type "None"; expected "DocumentClassifier" [arg-type]
src/documents/tests/test_permission_filtering_security.py:0: error: Argument "classifier" to "match_storage_paths" has incompatible type "None"; expected "DocumentClassifier" [arg-type]
src/documents/tests/test_permission_filtering_security.py:0: error: Argument "classifier" to "match_tags" has incompatible type "None"; expected "DocumentClassifier" [arg-type]
src/documents/tests/test_permission_filtering_security.py:0: error: Argument 1 to "permitted_document_ids" has incompatible type "AnonymousUser"; expected "User | None" [arg-type]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_permission_filtering_security.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/test_permitted_objects_filter.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permitted_objects_filter.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permitted_objects_filter.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permitted_objects_filter.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_permitted_objects_filter.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_regex.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_regex.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_regex.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_regex.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_regex.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_regex.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_sanity_check.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_sanity_check.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_sanity_check.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_share_link_bundles.py:0: error: "_MonkeyPatchedResponse" has no attribute "streaming_content" [attr-defined]
src/documents/tests/test_share_link_bundles.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_share_link_bundles.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_share_link_bundles.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_share_link_bundles.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_tag_hierarchy.py:0: error: Argument 1 to "run_workflows" has incompatible type "int"; expected "WorkflowTriggerType" [arg-type]
src/documents/tests/test_tag_hierarchy.py:0: error: Argument 1 to "run_workflows" has incompatible type "int"; expected "WorkflowTriggerType" [arg-type]
src/documents/tests/test_tag_hierarchy.py:0: error: Argument 2 to "get" of "APIClient" has incompatible type "dict[str, object]"; expected "Mapping[str, str | bytes | float | Iterable[str | bytes | float]] | Iterable[tuple[str, str | bytes | float | Iterable[str | bytes | float]]] | None" [arg-type]
src/documents/tests/test_tag_hierarchy.py:0: error: Need type annotation for "context" (hint: "context: dict[<type>, <type>] = ...") [var-annotated]
src/documents/tests/test_task_signals.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_task_signals.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/tests/test_task_signals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_task_signals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_task_signals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_task_signals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_task_signals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_task_signals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_task_signals.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/test_task_signals.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/tests/test_task_signals.py:0: error: Missing type arguments for generic type "tuple" [type-arg]
src/documents/tests/test_task_signals.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "timedelta" [attr-defined]
src/documents/tests/test_task_signals.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "timedelta" [attr-defined]
src/documents/tests/test_task_signals.py:0: error: Unsupported right operand type for in ("Any | None") [operator]
src/documents/tests/test_task_signals.py:0: error: Value of type "Any | None" is not indexable [index]
src/documents/tests/test_task_signals.py:0: error: Value of type "Any | None" is not indexable [index]
src/documents/tests/test_task_signals.py:0: error: Value of type "Any | None" is not indexable [index]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: "_MonkeyPatchedWSGIResponse" has no attribute "render" [attr-defined]
src/documents/tests/test_views.py:0: error: "_MonkeyPatchedWSGIResponse" has no attribute "render" [attr-defined]
src/documents/tests/test_views.py:0: error: "_MonkeyPatchedWSGIResponse" has no attribute "url" [attr-defined]
src/documents/tests/test_views.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedWSGIResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_views.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedWSGIResponse"; expected "StreamingHttpResponse" [arg-type]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_views.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "app_logo" [union-attr]
src/documents/tests/test_views.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "app_logo" [union-attr]
src/documents/tests/test_views.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save" [union-attr]
src/documents/tests/test_views.py:0: error: Item "None" of "SuggestionCacheData | None" has no attribute "suggestions" [union-attr]
src/documents/tests/test_views.py:0: error: Item "None" of "SuggestionCacheData | None" has no attribute "suggestions" [union-attr]
src/documents/tests/test_views.py:0: error: Item "None" of "SuggestionCacheData | None" has no attribute "suggestions" [union-attr]
src/documents/tests/test_views.py:0: error: Value of type "dict[str, Any] | None" is not indexable [index]
src/documents/tests/test_views.py:0: error: Value of type "dict[str, Any] | None" is not indexable [index]
src/documents/tests/test_views.py:0: error: Value of type "dict[str, Any] | None" is not indexable [index]
src/documents/tests/test_views.py:0: error: Value of type "dict[str, Any] | None" is not indexable [index]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "files" to "__call__" of "Task" has incompatible type "None"; expected "dict[Any, Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Path | str"; expected "Path" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "Path" has incompatible type "Any | None"; expected "str | PathLike[str]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "list" has incompatible type "Group | dict[Any, Any]"; expected "Iterable[Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "list" has incompatible type "Group | dict[Any, Any]"; expected "Iterable[Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "list" has incompatible type "Group | dict[Any, Any]"; expected "Iterable[Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "list" has incompatible type "Group | dict[Any, Any]"; expected "Iterable[Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "list" has incompatible type "Group | dict[Any, Any]"; expected "Iterable[Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "list" has incompatible type "Group | dict[Any, Any]"; expected "Iterable[Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "run_workflows" has incompatible type "int"; expected "WorkflowTriggerType" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "run_workflows" has incompatible type "int"; expected "WorkflowTriggerType" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "run_workflows" has incompatible type "int"; expected "WorkflowTriggerType" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "run_workflows" has incompatible type "int"; expected "WorkflowTriggerType" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "run_workflows" has incompatible type "int"; expected "WorkflowTriggerType" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 2 to "assertIn" of "TestCase" has incompatible type "str | None"; expected "Iterable[Any] | Container[Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 2 to "assertIn" of "TestCase" has incompatible type "str | None"; expected "Iterable[Any] | Container[Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 2 to "assertIn" of "TestCase" has incompatible type "str | None"; expected "Iterable[Any] | Container[Any]" [arg-type]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Incompatible types in assignment (expression has type "Any | list[str]", variable has type "QuerySet[Any, Any]") [assignment]
src/documents/tests/test_workflows.py:0: error: Incompatible types in assignment (expression has type "Any | list[str]", variable has type "QuerySet[Any, Any]") [assignment]
src/documents/tests/test_workflows.py:0: error: Incompatible types in assignment (expression has type "Group | dict[Any, Any]", variable has type "QuerySet[Any, Any]") [assignment]
src/documents/tests/test_workflows.py:0: error: Incompatible types in assignment (expression has type "Group | dict[Any, Any]", variable has type "QuerySet[Any, Any]") [assignment]
src/documents/tests/test_workflows.py:0: error: Incompatible types in assignment (expression has type "Group | dict[Any, Any]", variable has type "QuerySet[Any, Any]") [assignment]
src/documents/tests/test_workflows.py:0: error: Incompatible types in assignment (expression has type "Group | dict[Any, Any]", variable has type "QuerySet[Any, Any]") [assignment]
src/documents/tests/test_workflows.py:0: error: Incompatible types in assignment (expression has type "Group | dict[Any, Any]", variable has type "QuerySet[Any, Any]") [assignment]
src/documents/tests/test_workflows.py:0: error: Incompatible types in assignment (expression has type "Group | dict[Any, Any]", variable has type "QuerySet[Any, Any]") [assignment]
src/documents/tests/test_workflows.py:0: error: Incompatible types in assignment (expression has type "Group | dict[Any, Any]", variable has type "QuerySet[Any, Any]") [assignment]
src/documents/tests/test_workflows.py:0: error: Incompatible types in assignment (expression has type "Group | dict[Any, Any]", variable has type "QuerySet[Any, Any]") [assignment]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Correspondent | None" has no attribute "name" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Correspondent | None" has no attribute "name" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Correspondent | None" has no attribute "owner" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "DocumentType | None" has no attribute "name" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "DocumentType | None" has no attribute "name" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "DocumentType | None" has no attribute "name" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "DocumentType | None" has no attribute "owner" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Request | None" has no attribute "headers" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Request | None" has no attribute "headers" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Request | None" has no attribute "headers" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Request | None" has no attribute "headers" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Request | None" has no attribute "headers" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Request | None" has no attribute "url" [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "str" of "Path | str" has no attribute "name" [union-attr]
src/documents/tests/test_workflows.py:0: error: Name "group_perms" already defined on line 0 [no-redef]
src/documents/tests/test_workflows.py:0: error: Name "group_perms" already defined on line 0 [no-redef]
src/documents/tests/test_workflows.py:0: error: Name "group_perms" already defined on line 0 [no-redef]
src/documents/tests/test_workflows.py:0: error: Name "group_perms" already defined on line 0 [no-redef]
src/documents/tests/test_workflows.py:0: error: Name "group_perms" already defined on line 0 [no-redef]
src/documents/tests/test_workflows.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_workflows.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_workflows.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_workflows.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_workflows.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_workflows.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_workflows.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_workflows.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_workflows.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/test_workflows.py:0: error: Too few arguments for "count" of "list" [call-arg]
src/documents/tests/utils.py:0: error: "GetConsumerMixin" has no attribute "dirs" [attr-defined]
src/documents/tests/utils.py:0: error: "GetConsumerMixin" has no attribute "dirs" [attr-defined]
src/documents/tests/utils.py:0: error: "GetConsumerMixin" has no attribute "dirs" [attr-defined]
src/documents/tests/utils.py:0: error: "setUp" undefined in superclass [misc]
src/documents/tests/utils.py:0: error: "tearDown" undefined in superclass [misc]
src/documents/tests/utils.py:0: error: Unused "type: ignore" comment [unused-ignore]
src/documents/tests/utils.py:0: error: Unused "type: ignore" comment [unused-ignore]
src/documents/tests/utils.py:0: error: Unused "type: ignore" comment [unused-ignore]
src/documents/utils.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "float | int") [assignment]
src/documents/utils.py:0: error: Incompatible types in assignment (expression has type "float | int", variable has type "int | None") [assignment]
src/documents/utils.py:0: error: Missing type arguments for generic type "CompletedProcess" [type-arg]
src/documents/validators.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/versioning.py:0: error: Missing type arguments for generic type "Prefetch" [type-arg]
src/documents/views.py:0: error: "BulkPermissionMixin" has no attribute "filter_queryset" [attr-defined]
src/documents/views.py:0: error: "BulkPermissionMixin" has no attribute "get_queryset" [attr-defined]
src/documents/views.py:0: error: "BulkPermissionMixin" has no attribute "queryset" [attr-defined]
src/documents/views.py:0: error: "BulkPermissionMixin" has no attribute "queryset" [attr-defined]
src/documents/views.py:0: error: "Sequence[_SupportsHasPermission]" has no attribute "append" [attr-defined]
src/documents/views.py:0: error: "get_serializer_context" undefined in superclass [misc]
src/documents/views.py:0: error: "object" has no attribute "apply_async" [attr-defined]
src/documents/views.py:0: error: "type[DocumentFilterSet]" has no attribute "declared_filters" [attr-defined]
src/documents/views.py:0: error: "type[Model]" has no attribute "objects" [attr-defined]
src/documents/views.py:0: error: Argument "filename" to "FileResponse" has incompatible type "str | Any | None"; expected "str" [arg-type]
src/documents/views.py:0: error: Argument "path" to "EmailAttachment" has incompatible type "Path | None"; expected "Path" [arg-type]
src/documents/views.py:0: error: Argument "user" to "_has_document_permissions" of "DocumentOperationPermissionMixin" has incompatible type "User | AnonymousUser"; expected "User" [arg-type]
src/documents/views.py:0: error: Argument "user" to "_has_document_permissions" of "DocumentOperationPermissionMixin" has incompatible type "User | AnonymousUser"; expected "User" [arg-type]
src/documents/views.py:0: error: Argument "user" to "_resolve_document_ids" of "DocumentSelectionMixin" has incompatible type "User | AnonymousUser"; expected "User" [arg-type]
src/documents/views.py:0: error: Argument "user" to "_resolve_document_ids" of "DocumentSelectionMixin" has incompatible type "User | AnonymousUser"; expected "User" [arg-type]
src/documents/views.py:0: error: Argument 1 to "TaskSummarySerializer" has incompatible type "QuerySet[PaperlessTask@AnnotatedWith[TypedDict({'total_count': int, 'pending_count': int, 'success_count': int, 'failure_count': int, 'avg_duration_seconds': Any, 'avg_wait_time_seconds': Any, 'last_run': Any, 'last_success': Any, 'last_failure': Any})], TypedDict({'task_type': str, 'total_count': Any, 'pending_count': Any, 'success_count': Any, 'failure_count': Any, 'avg_duration_seconds': Any, 'avg_wait_time_seconds': Any, 'last_run': Any, 'last_success': Any, 'last_failure': Any})]"; expected "dict[str, Any] | None" [arg-type]
src/documents/views.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
src/documents/views.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
src/documents/views.py:0: error: Argument 1 to "paginate_queryset" of "GenericAPIView" has incompatible type "TantivyRelevanceList"; expected "QuerySet[Any, _MT_co] | Sequence[_MT_co]" [arg-type]
src/documents/views.py:0: error: Argument 1 to "permitted_document_ids" has incompatible type "User | AnonymousUser"; expected "User | None" [arg-type]
src/documents/views.py:0: error: Argument 1 to "permitted_object_ids" has incompatible type "User | AnonymousUser"; expected "User | None" [arg-type]
src/documents/views.py:0: error: Argument 2 to "match_correspondents" has incompatible type "DocumentClassifier | None"; expected "DocumentClassifier" [arg-type]
src/documents/views.py:0: error: Argument 2 to "match_document_types" has incompatible type "DocumentClassifier | None"; expected "DocumentClassifier" [arg-type]
src/documents/views.py:0: error: Argument 2 to "match_storage_paths" has incompatible type "DocumentClassifier | None"; expected "DocumentClassifier" [arg-type]
src/documents/views.py:0: error: Argument 2 to "match_tags" has incompatible type "DocumentClassifier | None"; expected "DocumentClassifier" [arg-type]
src/documents/views.py:0: error: Argument 3 to "autocomplete" of "TantivyBackend" has incompatible type "User | AnonymousUser | None"; expected "AbstractUser | None" [arg-type]
src/documents/views.py:0: error: Dict entry 0 has incompatible type "str": "bool"; expected "str": "str" [dict-item]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "Any | None", variable has type "dict[Any, Any]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "ClassificationSuggestions", variable has type "dict[Any, Any]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "QuerySet[Document, Document]", variable has type "list[Any]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "bool", target has type "dict[str, str]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "bool", target has type "dict[str, str]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "bool", target has type "dict[str, str]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "int", target has type "dict[str, str]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "str | None", target has type "dict[str, str]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "str | None", target has type "dict[str, str]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "str", target has type "dict[str, str]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "str", target has type "dict[str, str]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "str", target has type "dict[str, str]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "str", target has type "dict[str, str]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "str", target has type "dict[str, str]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "tuple[type[IsAuthenticated], type[ViewDocumentsPermissions]]", variable has type "tuple[type[IsAuthenticated], type[PaperlessObjectPermissions]]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "type[ArchiveOnlyStrategy]", variable has type "type[OriginalAndArchiveStrategy]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "type[DocumentSerializer]", variable has type "type[TrashSerializer]") [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "type[OriginalsOnlyStrategy]", variable has type "type[OriginalAndArchiveStrategy]") [assignment]
src/documents/views.py:0: error: Item "AnonymousUser" of "User | AnonymousUser" has no attribute "get_full_name" [union-attr]
src/documents/views.py:0: error: Item "BasePagination" of "BasePagination | None" has no attribute "get_page_size" [union-attr]
src/documents/views.py:0: error: Item "BasePagination" of "BasePagination | None" has no attribute "page_size" [union-attr]
src/documents/views.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
src/documents/views.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
src/documents/views.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "app_logo" [union-attr]
src/documents/views.py:0: error: Item "None" of "BasePagination | None" has no attribute "get_page_size" [union-attr]
src/documents/views.py:0: error: Item "None" of "BasePagination | None" has no attribute "page_size" [union-attr]
src/documents/views.py:0: error: Missing positional argument "request" in call to "email_documents" [call-arg]
src/documents/views.py:0: error: Missing type arguments for generic type "GenericViewSet" [type-arg]
src/documents/views.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/views.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/views.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/views.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/documents/views.py:0: error: Need type annotation for "authentication_classes" (hint: "authentication_classes: list[<type>] = ...") [var-annotated]
src/documents/views.py:0: error: Need type annotation for "children_map" (hint: "children_map: dict[<type>, <type>] = ...") [var-annotated]
src/documents/views.py:0: error: Need type annotation for "doc" [var-annotated]
src/documents/views.py:0: error: Need type annotation for "doc" [var-annotated]
src/documents/views.py:0: error: Need type annotation for "docs" (hint: "docs: list[<type>] = ...") [var-annotated]
src/documents/views.py:0: error: Need type annotation for "permission_classes" (hint: "permission_classes: list[<type>] = ...") [var-annotated]
src/documents/views.py:0: error: Need type annotation for "ui_settings" (hint: "ui_settings: dict[<type>, <type>] = ...") [var-annotated]
src/documents/views.py:0: error: No overload variant of "prefetch_related" of "QuerySet" matches argument type "list[object]" [call-overload]
src/documents/views.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/views.py:0: error: Skipping analyzing "langdetect": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/documents/views.py:0: error: Unsupported operand types for + ("None" and "int") [operator]
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
src/documents/views.py:0: error: Value of type "Iterable[CustomField]" is not indexable [index]
src/documents/views.py:0: error: Value of type "Iterable[Group]" is not indexable [index]
src/documents/views.py:0: error: Value of type "Iterable[User]" is not indexable [index]
src/documents/views.py:0: error: Value of type "Iterable[Workflow]" is not indexable [index]
src/documents/workflows/actions.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/workflows/actions.py:0: error: Function is missing a type annotation [no-untyped-def]
src/documents/workflows/actions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/workflows/actions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/workflows/actions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/workflows/actions.py:0: error: Incompatible types in assignment (expression has type "Any | None", variable has type "Document") [assignment]
src/documents/workflows/actions.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "dict[Any, str]") [assignment]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "added" [union-attr]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "correspondent" [union-attr]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "correspondent" [union-attr]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "created" [union-attr]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "document_type" [union-attr]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "document_type" [union-attr]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "filename" [union-attr]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "original_filename" [union-attr]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "owner" [union-attr]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "pk" [union-attr]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "pk" [union-attr]
src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "title" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionEmail | None" has no attribute "body" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionEmail | None" has no attribute "body" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionEmail | None" has no attribute "include_document" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionEmail | None" has no attribute "subject" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionEmail | None" has no attribute "subject" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionEmail | None" has no attribute "to" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionEmail | None" has no attribute "to" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "as_json" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "body" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "body" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "headers" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "headers" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "include_document" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "params" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "params" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "url" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "url" [union-attr]
src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "use_params" [union-attr]
src/documents/workflows/actions.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/workflows/actions.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/workflows/actions.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/workflows/ai.py:0: error: "type[ObjT]" has no attribute "objects" [attr-defined]
src/documents/workflows/ai.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_change_groups"; maybe "assign_change_groups"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_change_groups"; maybe "assign_change_groups"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_change_users"; maybe "assign_change_users"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_change_users"; maybe "assign_change_users"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_custom_fields"; maybe "assign_custom_fields" or "assign_custom_fields_values"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_custom_fields"; maybe "assign_custom_fields" or "assign_custom_fields_values"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_tags"; maybe "assign_tags"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_tags"; maybe "assign_tags"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_view_groups"; maybe "assign_view_groups"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_view_groups"; maybe "assign_view_groups"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_view_users"; maybe "assign_view_users"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_view_users"; maybe "assign_view_users"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_remove_change_groups"; maybe "remove_change_groups"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_remove_change_groups"; maybe "remove_change_groups"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_remove_change_users"; maybe "remove_change_users"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_remove_change_users"; maybe "remove_change_users"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_remove_custom_fields"; maybe "remove_custom_fields" or "remove_all_custom_fields"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_remove_custom_fields"; maybe "remove_custom_fields" or "remove_all_custom_fields"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_remove_view_groups"; maybe "remove_view_groups"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_remove_view_groups"; maybe "remove_view_groups"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_remove_view_users"; maybe "remove_view_users"? [attr-defined]
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_remove_view_users"; maybe "remove_view_users"? [attr-defined]
src/documents/workflows/mutations.py:0: error: Argument "data_type" to "get_value_field_name" of "CustomFieldInstance" has incompatible type "str"; expected "FieldDataType" [arg-type]
src/documents/workflows/mutations.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/workflows/mutations.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/workflows/mutations.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/workflows/mutations.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/workflows/mutations.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/documents/workflows/mutations.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
src/documents/workflows/mutations.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
src/documents/workflows/mutations.py:0: error: Need type annotation for "permissions" [var-annotated]
src/documents/workflows/utils.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/workflows/webhooks.py:0: error: Argument 1 to "post" of "Client" has incompatible type "**dict[str, str | dict[Any, Any] | None]"; expected "Cookies | CookieJar | dict[str, str] | list[tuple[str, str]] | None" [arg-type]
src/documents/workflows/webhooks.py:0: error: Argument 1 to "post" of "Client" has incompatible type "**dict[str, str | dict[Any, Any] | None]"; expected "Headers | Mapping[str, str] | Mapping[bytes, bytes] | Sequence[tuple[str, str]] | Sequence[tuple[bytes, bytes]] | None" [arg-type]
src/documents/workflows/webhooks.py:0: error: Argument 1 to "post" of "Client" has incompatible type "**dict[str, str | dict[Any, Any] | None]"; expected "Mapping[str, Any] | None" [arg-type]
src/documents/workflows/webhooks.py:0: error: Argument 1 to "post" of "Client" has incompatible type "**dict[str, str | dict[Any, Any] | None]"; expected "Mapping[str, IO[bytes] | bytes | str | tuple[str | None, IO[bytes] | bytes | str] | tuple[str | None, IO[bytes] | bytes | str, str | None] | tuple[str | None, IO[bytes] | bytes | str, str | None, Mapping[str, str]]] | Sequence[tuple[str, IO[bytes] | bytes | str | tuple[str | None, IO[bytes] | bytes | str] | tuple[str | None, IO[bytes] | bytes | str, str | None] | tuple[str | None, IO[bytes] | bytes | str, str | None, Mapping[str, str]]]] | None" [arg-type]
src/documents/workflows/webhooks.py:0: error: Argument 1 to "post" of "Client" has incompatible type "**dict[str, str | dict[Any, Any] | None]"; expected "URL | str" [arg-type]
src/documents/workflows/webhooks.py:0: error: Argument 1 to "post" of "Client" has incompatible type "**dict[str, str | dict[Any, Any] | None]"; expected "bool | UseClientDefault" [arg-type]
src/documents/workflows/webhooks.py:0: error: Argument 1 to "post" of "Client" has incompatible type "**dict[str, str | dict[Any, Any] | None]"; expected "float | tuple[float | None, float | None, float | None, float | None] | Timeout | None | UseClientDefault" [arg-type]
src/documents/workflows/webhooks.py:0: error: Argument 1 to "post" of "Client" has incompatible type "**dict[str, str | dict[Any, Any] | None]"; expected "tuple[str | bytes, str | bytes] | Callable[[Request], Request] | Auth | UseClientDefault" [arg-type]
src/documents/workflows/webhooks.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/documents/workflows/webhooks.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/workflows/webhooks.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/documents/workflows/webhooks.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/paperless/adapter.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/adapter.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/adapter.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/adapter.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/adapter.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/adapter.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/adapter.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/adapter.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/adapter.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/adapter.py:0: error: Name "user" already defined on line 0 [no-redef]
src/paperless/adapter.py:0: error: Skipping analyzing "allauth.account.adapter": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/adapter.py:0: error: Skipping analyzing "allauth.core": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/adapter.py:0: error: Skipping analyzing "allauth.headless.tokens.strategies.sessions": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/adapter.py:0: error: Skipping analyzing "allauth.socialaccount.adapter": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/admin.py:0: error: "PaperlessUserForm" has no attribute "request" [attr-defined]
src/paperless/admin.py:0: error: "type[ModelForm[Any]]" has no attribute "request" [attr-defined]
src/paperless/admin.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/admin.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/admin.py:0: error: Item "None" of "dict[str, Any] | None" has no attribute "get" [union-attr]
src/paperless/admin.py:0: error: Missing type arguments for generic type "ModelForm" [type-arg]
src/paperless/admin.py:0: error: Missing type arguments for generic type "UserAdmin" [type-arg]
src/paperless/admin.py:0: error: Signature of "get_form" incompatible with supertype "django.contrib.admin.options.ModelAdmin" [override]
src/paperless/apps.py:0: error: Skipping analyzing "allauth.socialaccount.signals": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/asgi.py:0: error: Argument 1 to "URLRouter" has incompatible type "list[URLPattern]"; expected "list[_ExtendedURLPattern | URLRouter]" [arg-type]
src/paperless/auth.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/auth.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/auth.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/auth.py:0: error: No return value expected [return-value]
src/paperless/auth.py:0: error: No return value expected [return-value]
src/paperless/auth.py:0: error: Return type "None" of "__call__" incompatible with return type "HttpResponseBase | Awaitable[HttpResponseBase]" in supertype "django.contrib.auth.middleware.RemoteUserMiddleware" [override]
src/paperless/auth.py:0: error: Skipping analyzing "allauth.mfa.adapter": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/celery.py:0: error: Argument 2 to "register" has incompatible type "Callable[[object], bytes]"; expected "Callable[[Any], str] | None" [arg-type]
src/paperless/celery.py:0: error: Argument 3 to "register" has incompatible type "Callable[[bytes], Any]"; expected "Callable[[str], Any] | None" [arg-type]
src/paperless/celery.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/checks.py:0: error: Argument 1 to "append" of "list" has incompatible type "Error"; expected "Warning" [arg-type]
src/paperless/checks.py:0: error: Argument 2 to "path_check" has incompatible type "Path | None"; expected "Path" [arg-type]
src/paperless/checks.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/checks.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/checks.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/checks.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/checks.py:0: error: Incompatible return value type (got "list[Warning]", expected "list[Error]") [return-value]
src/paperless/checks.py:0: error: Incompatible return value type (got "list[Warning]", expected "list[Error]") [return-value]
src/paperless/checks.py:0: error: Incompatible return value type (got "list[Warning]", expected "list[Error]") [return-value]
src/paperless/checks.py:0: error: Incompatible return value type (got "list[Warning]", expected "list[Error]") [return-value]
src/paperless/checks.py:0: error: List item 0 has incompatible type "str | None"; expected "str | bytes | PathLike[str] | PathLike[bytes]" [list-item]
src/paperless/config.py:0: error: Incompatible return value type (got "ApplicationConfiguration | None", expected "ApplicationConfiguration") [return-value]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "ArchiveFileGenerationChoices") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "CleanChoices") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "ColorConvertChoices") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "ModeChoices") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "OutputTypeChoices") [assignment]
src/paperless/config.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "RemoteOCRMode") [assignment]
src/paperless/consumers.py:0: error: Argument 1 to "_can_view" of "StatusConsumer" has incompatible type "DocumentUpdatedData"; expected "PermissionsData" [arg-type]
src/paperless/consumers.py:0: error: Argument 1 to "_can_view" of "StatusConsumer" has incompatible type "ProgressUpdateData"; expected "PermissionsData" [arg-type]
src/paperless/consumers.py:0: error: Item "AbstractBaseUser" of "AbstractBaseUser | AnonymousUser" has no attribute "groups" [union-attr]
src/paperless/consumers.py:0: error: Item "AbstractBaseUser" of "AbstractBaseUser | AnonymousUser" has no attribute "id" [union-attr]
src/paperless/consumers.py:0: error: Item "AbstractBaseUser" of "AbstractBaseUser | AnonymousUser" has no attribute "is_superuser" [union-attr]
src/paperless/consumers.py:0: error: Missing type arguments for generic type "Task" [type-arg]
src/paperless/consumers.py:0: error: Unsupported operand types for in ("Any | None" and "list[int]") [operator]
src/paperless/db_cache.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/db_cache.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/db_cache.py:0: error: Skipping analyzing "cachalot.api": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/db_cache.py:0: error: Skipping analyzing "cachalot.utils": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/middleware.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/middleware.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/middleware.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/middleware.py:0: error: Skipping analyzing "compression_middleware.middleware": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/middleware.py:0: error: Value of type "Collection[str]" is not indexable [index]
src/paperless/migrations/0001_initial.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/migrations/0007_optimize_integer_field_sizes.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/migrations/0008_replace_skip_archive_file.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/migrations/0016_alter_applicationconfiguration_ai_enabled.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/network.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/network.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/network.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/network.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/network.py:0: error: Incompatible return value type (got "list[str | int]", expected "list[str]") [return-value]
src/paperless/parsers/remote.py:0: error: Incompatible types in assignment (expression has type "BufferedWriter[_BufferedWriterStream]", variable has type "BufferedReader[_BufferedReaderStream]") [assignment]
src/paperless/parsers/remote.py:0: error: Missing type arguments for generic type "PipelineRequest" [type-arg]
src/paperless/parsers/tesseract.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/paperless/parsers/tesseract.py:0: error: Skipping analyzing "img2pdf": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/serialisers.py:0: error: "PasswordValidationMixin" has no attribute "instance" [attr-defined]
src/paperless/serialisers.py:0: error: "UploadedFile[Any]" has no attribute "field_name" [attr-defined]
src/paperless/serialisers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/serialisers.py:0: error: Item "None" of "str | None" has no attribute "replace" [union-attr]
src/paperless/serialisers.py:0: error: Missing type arguments for generic type "UploadedFile" [type-arg]
src/paperless/serialisers.py:0: error: Missing type arguments for generic type "UploadedFile" [type-arg]
src/paperless/serialisers.py:0: error: Need type annotation for "auth_token" [var-annotated]
src/paperless/serialisers.py:0: error: Signature of "run_validation" incompatible with supertype "rest_framework.fields.Field" [override]
src/paperless/serialisers.py:0: error: Skipping analyzing "allauth.mfa.adapter": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/serialisers.py:0: error: Skipping analyzing "allauth.mfa.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/serialisers.py:0: error: Skipping analyzing "allauth.mfa.totp.internal.auth": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/serialisers.py:0: error: Skipping analyzing "allauth.socialaccount.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/settings/__init__.py:0: error: "Collection[str]" has no attribute "append" [attr-defined]
src/paperless/settings/__init__.py:0: error: "Collection[str]" has no attribute "insert" [attr-defined]
src/paperless/settings/__init__.py:0: error: Argument 1 to "append" of "list" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless/settings/__init__.py:0: error: Argument 1 to "parse_ignore_dates" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless/settings/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/settings/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/settings/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/settings/__init__.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/settings/__init__.py:0: error: Incompatible types in assignment (expression has type "bool", variable has type "str") [assignment]
src/paperless/settings/__init__.py:0: error: Incompatible types in assignment (expression has type "dict[str, object]", target has type "str") [assignment]
src/paperless/settings/custom.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/paperless/settings/custom.py:0: error: No overload variant of "getenv" matches argument types "Collection[str]", "Collection[str]" [call-overload]
src/paperless/settings/custom.py:0: error: Unpacked dict entry 0 has incompatible type "Collection[str]"; expected "SupportsKeysAndGetItem[str, dict[str, str]]" [dict-item]
src/paperless/settings/parsers.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "bool") [assignment]
src/paperless/settings/parsers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/paperless/settings/parsers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/paperless/settings/parsers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/paperless/signals.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/signals.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/signed_pickle.py:0: error: Item "None" of "str | None" has no attribute "encode" [union-attr]
src/paperless/tests/parsers/conftest.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/parsers/conftest.py:0: error: Incompatible return value type (got "def _make_parser(**django_settings_overrides: Any) -> _GeneratorContextManager[Any, None, None]", expected "Callable[..., Generator[RasterisedDocumentParser, None, None]]") [return-value]
src/paperless/tests/parsers/test_convert_image_to_pdfa.py:0: error: Skipping analyzing "img2pdf": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/tests/parsers/test_mail_parser.py:0: error: Argument 1 to "extract_metadata" of "MailDocumentParser" has incompatible type "str"; expected "Path" [arg-type]
src/paperless/tests/parsers/test_mail_parser.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/parsers/test_mail_parser.py:0: error: Item "None" of "Request | None" has no attribute "url" [union-attr]
src/paperless/tests/parsers/test_mail_parser.py:0: error: Item "None" of "Request | None" has no attribute "url" [union-attr]
src/paperless/tests/parsers/test_mail_parser_live.py:0: error: Argument 1 to "extract_text" has incompatible type "Path | None"; expected "Path" [arg-type]
src/paperless/tests/parsers/test_mail_parser_live.py:0: error: List item 0 has incompatible type "str | None"; expected "str | bytes | PathLike[str] | PathLike[bytes]" [list-item]
src/paperless/tests/parsers/test_parse_modes.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/parsers/test_parse_modes.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/parsers/test_parse_modes.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/parsers/test_parse_modes.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/parsers/test_parse_modes.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "ModeChoices") [assignment]
src/paperless/tests/parsers/test_remote_parser.py:0: error: Too few arguments [call-arg]
src/paperless/tests/parsers/test_tesseract_custom_settings.py:0: error: Argument "input_file" to "construct_ocrmypdf_parameters" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path" [arg-type]
src/paperless/tests/parsers/test_tesseract_custom_settings.py:0: error: Argument "input_file" to "construct_ocrmypdf_parameters" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path" [arg-type]
src/paperless/tests/parsers/test_tesseract_custom_settings.py:0: error: Argument "output_file" to "construct_ocrmypdf_parameters" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path" [arg-type]
src/paperless/tests/parsers/test_tesseract_custom_settings.py:0: error: Argument "output_file" to "construct_ocrmypdf_parameters" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path" [arg-type]
src/paperless/tests/parsers/test_tesseract_custom_settings.py:0: error: Argument "sidecar_file" to "construct_ocrmypdf_parameters" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path" [arg-type]
src/paperless/tests/parsers/test_tesseract_custom_settings.py:0: error: Argument "sidecar_file" to "construct_ocrmypdf_parameters" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path" [arg-type]
src/paperless/tests/parsers/test_tesseract_custom_settings.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__enter__"; maybe "__iter__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__enter__"; maybe "__iter__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__enter__"; maybe "__iter__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__enter__"; maybe "__iter__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__enter__"; maybe "__iter__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__enter__"; maybe "__iter__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__enter__"; maybe "__iter__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__exit__"; maybe "__next__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__exit__"; maybe "__next__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__exit__"; maybe "__next__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__exit__"; maybe "__next__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__exit__"; maybe "__next__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__exit__"; maybe "__next__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: "Generator[RasterisedDocumentParser, None, None]" has no attribute "__exit__"; maybe "__next__"? [attr-defined]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: Argument 1 to "calculate_a4_dpi" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path" [arg-type]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: Argument 1 to "get_dpi" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path" [arg-type]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/parsers/test_tesseract_parser.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "ModeChoices") [assignment]
src/paperless/tests/parsers/test_tika_parser.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]" [arg-type]
src/paperless/tests/settings/test_custom_parsers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/paperless/tests/settings/test_db_cache.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_db_cache.py:0: error: Skipping analyzing "cachalot.settings": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/settings/test_remote_user.py:0: error: Unsupported target for indexed assignment ("Collection[str]") [index]
src/paperless/tests/settings/test_settings.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/settings/test_settings.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_adapter.py:0: error: Cannot assign to a method [method-assign]
src/paperless/tests/test_adapter.py:0: error: Cannot assign to a method [method-assign]
src/paperless/tests/test_adapter.py:0: error: Cannot assign to a method [method-assign]
src/paperless/tests/test_adapter.py:0: error: Skipping analyzing "allauth.account.adapter": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/tests/test_adapter.py:0: error: Skipping analyzing "allauth.core": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/tests/test_adapter.py:0: error: Skipping analyzing "allauth.socialaccount.adapter": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/tests/test_admin_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_admin_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_admin_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_admin_auth.py:0: error: Skipping analyzing "allauth.mfa": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/tests/test_admin_auth.py:0: error: Skipping analyzing "allauth.mfa.totp.internal": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/tests/test_api_auth.py:0: error: "Callable[..., Any]" has no attribute "view_class" [attr-defined]
src/paperless/tests/test_api_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_api_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_api_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_api_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_auth_middleware.py:0: error: Argument 1 to "AutoLoginMiddleware" has incompatible type "Callable[[Any], None]"; expected "_AnyGetResponseCallable" [arg-type]
src/paperless/tests/test_auth_middleware.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_checks.py:0: error: Generator has incompatible item type "str | None"; expected "str" [misc]
src/paperless/tests/test_checks.py:0: error: Unsupported right operand type for in ("str | None") [operator]
src/paperless/tests/test_checks.py:0: error: Unsupported right operand type for in ("str | None") [operator]
src/paperless/tests/test_checks.py:0: error: Unsupported right operand type for in ("str | None") [operator]
src/paperless/tests/test_checks.py:0: error: Unsupported right operand type for in ("str | None") [operator]
src/paperless/tests/test_checks.py:0: error: Unsupported right operand type for in ("str | None") [operator]
src/paperless/tests/test_checks.py:0: error: Unsupported right operand type for in ("str | None") [operator]
src/paperless/tests/test_compression_middleware.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_logging.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_logging.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_migration_replace_skip_archive_file.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_migration_replace_skip_archive_file.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_network.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_network.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_network.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_network.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_network.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_ocr_config.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_ocr_config.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_ocr_config.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_ocr_config.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_ocr_config.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_ocr_config.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_ocr_config.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: "type" has no attribute "name" [attr-defined]
src/paperless/tests/test_registry.py:0: error: Argument 1 to "append" of "list" has incompatible type "type[AlwaysDeclines]"; expected "type[ParserProtocol]" [arg-type]
src/paperless/tests/test_registry.py:0: error: Argument 1 to "append" of "list" has incompatible type "type[DecliningExternal]"; expected "type[ParserProtocol]" [arg-type]
src/paperless/tests/test_registry.py:0: error: Argument 1 to "append" of "list" has incompatible type "type[ExtParser]"; expected "type[ParserProtocol]" [arg-type]
src/paperless/tests/test_registry.py:0: error: Argument 1 to "append" of "list" has incompatible type "type[ExternalParser]"; expected "type[ParserProtocol]" [arg-type]
src/paperless/tests/test_registry.py:0: error: Argument 1 to "register_builtin" of "ParserRegistry" has incompatible type "type[AcceptingBuiltin]"; expected "type[ParserProtocol]" [arg-type]
src/paperless/tests/test_registry.py:0: error: Argument 1 to "register_builtin" of "ParserRegistry" has incompatible type "type[AlwaysDeclines]"; expected "type[ParserProtocol]" [arg-type]
src/paperless/tests/test_registry.py:0: error: Argument 1 to "register_builtin" of "ParserRegistry" has incompatible type "type[BuiltinParser]"; expected "type[ParserProtocol]" [arg-type]
src/paperless/tests/test_registry.py:0: error: Argument 1 to "register_builtin" of "ParserRegistry" has incompatible type "type[DecliningParser]"; expected "type[ParserProtocol]" [arg-type]
src/paperless/tests/test_registry.py:0: error: Argument 1 to "register_builtin" of "ParserRegistry" has incompatible type "type[HighScoreParser]"; expected "type[ParserProtocol]" [arg-type]
src/paperless/tests/test_registry.py:0: error: Argument 1 to "register_builtin" of "ParserRegistry" has incompatible type "type[LowScoreParser]"; expected "type[ParserProtocol]" [arg-type]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_registry.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/paperless/tests/test_remote_ocr_config.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_remote_ocr_config.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_remote_ocr_config.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_remote_ocr_config.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_remote_ocr_config.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_remote_ocr_config.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_remote_ocr_config.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_remote_ocr_config.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/tests/test_signals.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
src/paperless/tests/test_signals.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
src/paperless/tests/test_utils.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/tests/test_views.py:0: error: "_MonkeyPatchedWSGIResponse" has no attribute "streaming_content" [attr-defined]
src/paperless/urls.py:0: error: Argument 2 to "path" has incompatible type "_ASGIApplicationProtocol"; expected "Callable[..., HttpResponseBase]" [arg-type]
src/paperless/urls.py:0: error: Cannot assign to a method [method-assign]
src/paperless/urls.py:0: error: Skipping analyzing "allauth.account": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/urls.py:0: error: Skipping analyzing "allauth.account.decorators": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/urls.py:0: error: Skipping analyzing "allauth.mfa.base": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/urls.py:0: error: Skipping analyzing "allauth.socialaccount": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/urls.py:0: error: Skipping analyzing "allauth.urls": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/validators.py:0: error: Argument 1 to "join" of "str" has incompatible type "Iterator[str | bytes] | Any"; expected "Iterable[str]" [arg-type]
src/paperless/validators.py:0: error: Incompatible types in assignment (expression has type "str | bytes", variable has type "str") [assignment]
src/paperless/validators.py:0: error: Missing type arguments for generic type "UploadedFile" [type-arg]
src/paperless/validators.py:0: error: Missing type arguments for generic type "UploadedFile" [type-arg]
src/paperless/views.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
src/paperless/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless/views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless/views.py:0: error: Incompatible type for "user" of "Token" (got "User | AnonymousUser", expected "User | Combinable") [misc]
src/paperless/views.py:0: error: Incompatible type for lookup 'user': (got "User | AnonymousUser", expected "User | int | None") [misc]
src/paperless/views.py:0: error: Item "AnonymousUser" of "User | AnonymousUser" has no attribute "socialaccount_set" [union-attr]
src/paperless/views.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "llm_context_size" [union-attr]
src/paperless/views.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "llm_embedding_backend" [union-attr]
src/paperless/views.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "llm_embedding_chunk_size" [union-attr]
src/paperless/views.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "llm_embedding_endpoint" [union-attr]
src/paperless/views.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "llm_embedding_model" [union-attr]
src/paperless/views.py:0: error: Item "None" of "Page[Any] | None" has no attribute "paginator" [union-attr]
src/paperless/views.py:0: error: Item "None" of "Page[Any] | None" has no attribute "paginator" [union-attr]
src/paperless/views.py:0: error: Item "None" of "Page[Any] | None" has no attribute "paginator" [union-attr]
src/paperless/views.py:0: error: Item "None" of "User | AnonymousUser | None" has no attribute "save" [union-attr]
src/paperless/views.py:0: error: Item "None" of "User | AnonymousUser | None" has no attribute "save" [union-attr]
src/paperless/views.py:0: error: Item "None" of "User | AnonymousUser | None" has no attribute "set_password" [union-attr]
src/paperless/views.py:0: error: Item "User" of "User | AnonymousUser" has no attribute "socialaccount_set" [union-attr]
src/paperless/views.py:0: error: Item "_SupportsPagination[Any]" of "_SupportsPagination[Any] | Any" has no attribute "values_list" [union-attr]
src/paperless/views.py:0: error: Skipping analyzing "allauth.mfa": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/views.py:0: error: Skipping analyzing "allauth.mfa.adapter": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/views.py:0: error: Skipping analyzing "allauth.mfa.base.internal.flows": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/views.py:0: error: Skipping analyzing "allauth.mfa.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/views.py:0: error: Skipping analyzing "allauth.mfa.recovery_codes.internal.flows": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/views.py:0: error: Skipping analyzing "allauth.mfa.totp.internal": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/views.py:0: error: Skipping analyzing "allauth.socialaccount.adapter": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless/views.py:0: error: Skipping analyzing "allauth.socialaccount.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless_ai/ai_classifier.py:0: error: Argument 1 to "parse_ai_response" has incompatible type "ClassificationSuggestions"; expected "dict[Any, Any]" [arg-type]
src/paperless_ai/ai_classifier.py:0: error: Argument 1 to "parse_ai_response" has incompatible type "ClassificationSuggestions"; expected "dict[Any, Any]" [arg-type]
src/paperless_ai/ai_classifier.py:0: error: Incompatible types in assignment (expression has type "Any | None", variable has type "str") [assignment]
src/paperless_ai/ai_classifier.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/paperless_ai/ai_classifier.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/paperless_ai/ai_classifier.py:0: error: TypedDict key must be a string literal; expected one of ("correspondents", "dates", "document_types", "storage_paths", "tags", ...) [literal-required]
src/paperless_ai/ai_classifier.py:0: error: TypedDict key must be a string literal; expected one of ("correspondents", "dates", "document_types", "storage_paths", "tags", ...) [literal-required]
src/paperless_ai/ai_classifier.py:0: error: TypedDict key must be a string literal; expected one of ("correspondents", "dates", "document_types", "storage_paths", "tags", ...) [literal-required]
src/paperless_ai/base_model.py:0: error: Invalid index type "str | None" for "dict[str, FieldInfo]"; expected type "str" [index]
src/paperless_ai/chat.py:0: error: Dict entry 1 has incompatible type "str": "str | Any | None"; expected "str": "int | str" [dict-item]
src/paperless_ai/chat.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/chat.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/chat.py:0: error: Item "AsyncGenerator[str, None]" of "Any | Generator[str, None, None] | AsyncGenerator[str, None]" has no attribute "__iter__" (not iterable) [union-attr]
src/paperless_ai/chat.py:0: error: Item "Response" of "Response | StreamingResponse | AsyncStreamingResponse | PydanticResponse" has no attribute "response_gen" [union-attr]
src/paperless_ai/chat.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/paperless_ai/client.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
src/paperless_ai/client.py:0: error: Skipping analyzing "llama_index.llms.ollama": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless_ai/client.py:0: error: Skipping analyzing "llama_index.llms.openai_like": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless_ai/db.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/embedding.py:0: error: No overload variant of "get" of "dict" matches argument type "str" [call-overload]
src/paperless_ai/embedding.py:0: error: Skipping analyzing "llama_index.embeddings.huggingface": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless_ai/embedding.py:0: error: Skipping analyzing "llama_index.embeddings.ollama": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless_ai/embedding.py:0: error: Skipping analyzing "llama_index.embeddings.openai_like": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless_ai/indexing.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/matching.py:0: error: "type[ModelT]" has no attribute "objects" [attr-defined]
src/paperless_ai/matching.py:0: error: "type[ModelT]" has no attribute "objects" [attr-defined]
src/paperless_ai/matching.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/matching.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/paperless_ai/taxonomy.py:0: error: "object" has no attribute "__iter__"; maybe "__dir__" or "__str__"? (not iterable) [attr-defined]
src/paperless_ai/taxonomy.py:0: error: "type[Model]" has no attribute "objects" [attr-defined]
src/paperless_ai/tests/conftest.py:0: error: Incompatible return value type (got "FakeEmbedding", expected "MagicMock | AsyncMock | NonCallableMagicMock") [return-value]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Argument "candidates" to "build_prompt_without_rag" has incompatible type "dict[str, list[Any]]"; expected "TaxonomyCandidates | None" [arg-type]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Argument "candidates" to "build_prompt_without_rag" has incompatible type "dict[str, list[dict[str, object]]]"; expected "TaxonomyCandidates | None" [arg-type]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Argument 1 to "build_localization_prompt" has incompatible type "dict[str, Collection[str]]"; expected "ClassificationSuggestions" [arg-type]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_ai_classifier.py:0: error: Need type annotation for "empty_candidates" [var-annotated]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_client.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_ai/tests/test_matching.py:0: error: Argument 1 to "match_tags_by_name" has incompatible type "list[str | None]"; expected "list[str]" [arg-type]
src/paperless_ai/tests/test_matching.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
src/paperless_ai/tests/test_matching.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/paperless_ai/tests/test_vector_store.py:0: error: Argument 2 to "_query" has incompatible type "list[float] | None"; expected "list[float]" [arg-type]
src/paperless_ai/tests/test_vector_store.py:0: error: Argument 2 to "make_node" has incompatible type "str"; expected "int" [arg-type]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_ai/tests/test_vector_store.py:0: error: Skipping analyzing "sqlite_vec": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless_ai/vector_store.py:0: error: Argument 1 to "int" has incompatible type "int | float | str | list[str] | list[float] | list[int] | None"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
src/paperless_ai/vector_store.py:0: error: Argument 1 to "int" has incompatible type "int | float | str | list[str] | list[float] | list[int] | None"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
src/paperless_ai/vector_store.py:0: error: Argument 1 to "int" has incompatible type "str | Any | None"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
src/paperless_ai/vector_store.py:0: error: Skipping analyzing "sqlite_vec": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless_ai/vector_store.py:0: error: Unexpected keyword argument "flat_metadata" for "__init__" of "BasePydanticVectorStore" [call-arg]
src/paperless_mail/admin.py:0: error: Missing type arguments for generic type "ModelAdmin" [type-arg]
src/paperless_mail/admin.py:0: error: Missing type arguments for generic type "ModelForm" [type-arg]
src/paperless_mail/mail.py:0: error: "Message[str, str]" has no attribute "_headers"; maybe "add_header"? [attr-defined]
src/paperless_mail/mail.py:0: error: "Message[str, str]" has no attribute "_headers"; maybe "add_header"? [attr-defined]
src/paperless_mail/mail.py:0: error: "Message[str, str]" has no attribute "_headers"; maybe "add_header"? [attr-defined]
src/paperless_mail/mail.py:0: error: "Message[str, str]" has no attribute "_headers"; maybe "add_header"? [attr-defined]
src/paperless_mail/mail.py:0: error: "PinnedClientMixin" has no attribute "_host" [attr-defined]
src/paperless_mail/mail.py:0: error: "PinnedClientMixin" has no attribute "_port" [attr-defined]
src/paperless_mail/mail.py:0: error: "PinnedClientMixin" has no attribute "_timeout" [attr-defined]
src/paperless_mail/mail.py:0: error: "_create_socket" undefined in superclass [misc]
src/paperless_mail/mail.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "str"; expected "Path" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 1 to "TagMailAction" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "AND" has incompatible type "**dict[str, date]"; expected "Header | list[Header] | None" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "AND" has incompatible type "**dict[str, date]"; expected "Header | list[Header] | None" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "AND" has incompatible type "**dict[str, date]"; expected "bool | None" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "AND" has incompatible type "**dict[str, date]"; expected "bool | None" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "AND" has incompatible type "**dict[str, date]"; expected "int | None" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "AND" has incompatible type "**dict[str, date]"; expected "int | None" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "AND" has incompatible type "**dict[str, date]"; expected "str | Iterable[str] | UidRange | None" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "AND" has incompatible type "**dict[str, date]"; expected "str | Iterable[str] | UidRange | None" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "AND" has incompatible type "**dict[str, date]"; expected "str | list[str] | None" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "AND" has incompatible type "**dict[str, date]"; expected "str | list[str] | None" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "flag" of "BaseMailBox" has incompatible type "list[str] | None"; expected "str | Iterable[str]" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 2 to "insert" of "list" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 3 to "post_consume" of "BaseMailAction" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless_mail/mail.py:0: error: Argument 4 to "uid" of "IMAP4" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless_mail/mail.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/mail.py:0: error: Incompatible return value type (got "PinnedMailBoxUnencrypted", expected "MailBox") [return-value]
src/paperless_mail/mail.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment]
src/paperless_mail/mail.py:0: error: Incompatible types in assignment (expression has type "PinnedMailBox", variable has type "PinnedMailBoxUnencrypted") [assignment]
src/paperless_mail/mail.py:0: error: Incompatible types in assignment (expression has type "PinnedMailBoxStartTls", variable has type "PinnedMailBoxUnencrypted") [assignment]
src/paperless_mail/mail.py:0: error: Incompatible types in assignment (expression has type "str", target has type "date") [assignment]
src/paperless_mail/mail.py:0: error: Incompatible types in assignment (expression has type "str", target has type "date") [assignment]
src/paperless_mail/mail.py:0: error: Incompatible types in assignment (expression has type "str", target has type "date") [assignment]
src/paperless_mail/mail.py:0: error: Incompatible types in assignment (expression has type "str", target has type "date") [assignment]
src/paperless_mail/mail.py:0: error: Missing type arguments for generic type "dict" [type-arg]
src/paperless_mail/mail.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/paperless_mail/management/commands/mail_fetcher.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/migrations/0002_optimize_integer_field_sizes.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/migrations/0002_optimize_integer_field_sizes.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/models.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/oauth.py:0: error: Argument "refresh_token" to "refresh_token" of "BaseOAuth2" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless_mail/oauth.py:0: error: Argument "refresh_token" to "refresh_token" of "BaseOAuth2" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless_mail/oauth.py:0: error: Argument 1 to "GoogleOAuth2" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless_mail/oauth.py:0: error: Argument 1 to "MicrosoftGraphOAuth2" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless_mail/oauth.py:0: error: Argument 2 to "GoogleOAuth2" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless_mail/oauth.py:0: error: Argument 2 to "MicrosoftGraphOAuth2" has incompatible type "str | None"; expected "str" [arg-type]
src/paperless_mail/oauth.py:0: error: Incompatible return value type (got "None", expected "GoogleOAuth2") [return-value]
src/paperless_mail/oauth.py:0: error: Incompatible return value type (got "None", expected "MicrosoftGraphOAuth2") [return-value]
src/paperless_mail/oauth.py:0: error: Incompatible types in assignment (expression has type "GoogleOAuth2", variable has type "None") [assignment]
src/paperless_mail/oauth.py:0: error: Incompatible types in assignment (expression has type "MicrosoftGraphOAuth2", variable has type "None") [assignment]
src/paperless_mail/preprocessor.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/preprocessor.py:0: error: Skipping analyzing "gnupg": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless_mail/serialisers.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tasks.py:0: error: Missing type arguments for generic type "Task" [type-arg]
src/paperless_mail/tests/helpers.py:0: error: "MailMessage" has no attribute "flagged" [attr-defined]
src/paperless_mail/tests/helpers.py:0: error: "MailMessage" has no attribute "seen" [attr-defined]
src/paperless_mail/tests/helpers.py:0: error: Argument 1 to "MailboxFolderSelectError" has incompatible type "None"; expected "tuple[Any, ...]" [arg-type]
src/paperless_mail/tests/helpers.py:0: error: Argument 1 to "MailboxLoginError" has incompatible type "str"; expected "tuple[Any, ...]" [arg-type]
src/paperless_mail/tests/helpers.py:0: error: Argument 1 to "MailboxLoginError" has incompatible type "str"; expected "tuple[Any, ...]" [arg-type]
src/paperless_mail/tests/helpers.py:0: error: Argument 1 to "MailboxLoginError" has incompatible type "str"; expected "tuple[Any, ...]" [arg-type]
src/paperless_mail/tests/helpers.py:0: error: Argument 1 to "MailboxLoginError" has incompatible type "str"; expected "tuple[Any, ...]" [arg-type]
src/paperless_mail/tests/helpers.py:0: error: Argument 1 to "filter" has incompatible type "Callable[[Any], bool]"; expected "Callable[[MailMessage], TypeGuard[Never]]" [arg-type]
src/paperless_mail/tests/helpers.py:0: error: Argument 1 to "filter" has incompatible type "Callable[[Any], bool]"; expected "Callable[[MailMessage], TypeGuard[Never]]" [arg-type]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/helpers.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]") [assignment]
src/paperless_mail/tests/helpers.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]") [assignment]
src/paperless_mail/tests/helpers.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]") [assignment]
src/paperless_mail/tests/helpers.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]") [assignment]
src/paperless_mail/tests/helpers.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]") [assignment]
src/paperless_mail/tests/helpers.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]") [assignment]
src/paperless_mail/tests/helpers.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]") [assignment]
src/paperless_mail/tests/helpers.py:0: error: Incompatible types in assignment (expression has type "filter[Never]", variable has type "list[MailMessage]") [assignment]
src/paperless_mail/tests/helpers.py:0: error: Incompatible types in assignment (expression has type "filter[Never]", variable has type "list[MailMessage]") [assignment]
src/paperless_mail/tests/helpers.py:0: error: Missing type arguments for generic type "AbstractContextManager" [type-arg]
src/paperless_mail/tests/test_mail.py:0: error: "BogusFolderManager" has no attribute "list" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "BogusFolderManager" has no attribute "list" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "BogusFolderManager" has no attribute "list" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "BogusFolderManager" has no attribute "list" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "MailMessage" has no attribute "seen" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[att]" has no attribute "filename" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message2]" has no attribute "from_" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message2]" has no attribute "from_" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message2]" has no attribute "from_values" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message]" has no attribute "from_" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message]" has no attribute "from_values" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message]" has no attribute "subject" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "MailboxFolderSelectError" has incompatible type "None"; expected "tuple[Any, ...]" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "_get_correspondent" of "MailAccountHandler" has incompatible type "type[message2]"; expected "MailMessage" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "_get_correspondent" of "MailAccountHandler" has incompatible type "type[message2]"; expected "MailMessage" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "_get_correspondent" of "MailAccountHandler" has incompatible type "type[message]"; expected "MailMessage" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "_get_correspondent" of "MailAccountHandler" has incompatible type "type[message]"; expected "MailMessage" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "_get_correspondent" of "MailAccountHandler" has incompatible type "type[message]"; expected "MailMessage" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "_get_correspondent" of "MailAccountHandler" has incompatible type "type[message]"; expected "MailMessage" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "_get_title" of "MailAccountHandler" has incompatible type "type[message]"; expected "MailMessage" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "_get_title" of "MailAccountHandler" has incompatible type "type[message]"; expected "MailMessage" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "_get_title" of "MailAccountHandler" has incompatible type "type[message]"; expected "MailMessage" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 2 to "_get_title" of "MailAccountHandler" has incompatible type "type[att]"; expected "MailAttachment" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 2 to "_get_title" of "MailAccountHandler" has incompatible type "type[att]"; expected "MailAttachment" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 2 to "_get_title" of "MailAccountHandler" has incompatible type "type[att]"; expected "MailAttachment" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 2 to "assertIn" of "TestCase" has incompatible type "str | None"; expected "Iterable[Any] | Container[Any]" [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Cannot assign to a method [method-assign]
src/paperless_mail/tests/test_mail.py:0: error: Cannot assign to a method [method-assign]
src/paperless_mail/tests/test_mail.py:0: error: Dict entry 0 has incompatible type "str": "None"; expected "str": "str" [dict-item]
src/paperless_mail/tests/test_mail.py:0: error: Dict entry 0 has incompatible type "str": "int"; expected "str": "str" [dict-item]
src/paperless_mail/tests/test_mail.py:0: error: First argument to namedtuple() should be "att", not "Attachment" [name-match]
src/paperless_mail/tests/test_mail.py:0: error: First argument to namedtuple() should be "message", not "MailMessage" [name-match]
src/paperless_mail/tests/test_mail.py:0: error: First argument to namedtuple() should be "message", not "MailMessage" [name-match]
src/paperless_mail/tests/test_mail.py:0: error: First argument to namedtuple() should be "message2", not "MailMessage" [name-match]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible type for "uid" of "ProcessedMail" (got "str | None", expected "str | int | Combinable") [misc]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible type for "uid" of "ProcessedMail" (got "str | None", expected "str | int | Combinable") [misc]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible type for "uid" of "ProcessedMail" (got "str | None", expected "str | int | Combinable") [misc]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible type for "uid" of "ProcessedMail" (got "str | None", expected "str | int | Combinable") [misc]
src/paperless_mail/tests/test_mail.py:0: error: Item "None" of "Correspondent | None" has no attribute "id" [union-attr]
src/paperless_mail/tests/test_mail.py:0: error: Item "None" of "Correspondent | None" has no attribute "id" [union-attr]
src/paperless_mail/tests/test_mail.py:0: error: Item "None" of "Correspondent | None" has no attribute "match" [union-attr]
src/paperless_mail/tests/test_mail.py:0: error: Item "None" of "Correspondent | None" has no attribute "matching_algorithm" [union-attr]
src/paperless_mail/tests/test_mail.py:0: error: Item "None" of "Correspondent | None" has no attribute "name" [union-attr]
src/paperless_mail/tests/test_mail.py:0: error: Item "None" of "Correspondent | None" has no attribute "name" [union-attr]
src/paperless_mail/tests/test_mail.py:0: error: Item "None" of "Correspondent | None" has no attribute "name" [union-attr]
src/paperless_mail/tests/test_mail.py:0: error: List item 0 has incompatible type "str | None"; expected "str" [list-item]
src/paperless_mail/tests/test_mail.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
src/paperless_mail/tests/test_mail_nfc.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/tests/test_mail_nfc.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/tests/test_mail_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/test_mail_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/test_mail_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/test_mail_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/test_mail_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/test_mail_nfc.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/test_mail_oauth.py:0: error: "_MonkeyPatchedWSGIResponse" has no attribute "url" [attr-defined]
src/paperless_mail/tests/test_mail_oauth.py:0: error: "_MonkeyPatchedWSGIResponse" has no attribute "url" [attr-defined]
src/paperless_mail/tests/test_mail_oauth.py:0: error: "_MonkeyPatchedWSGIResponse" has no attribute "url" [attr-defined]
src/paperless_mail/tests/test_mail_oauth.py:0: error: "_MonkeyPatchedWSGIResponse" has no attribute "url" [attr-defined]
src/paperless_mail/tests/test_mail_oauth.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail_oauth.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail_oauth.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_mail_oauth.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
src/paperless_mail/tests/test_migrations.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/tests/test_migrations.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/tests/test_preprocessor.py:0: error: "Message[str, str]" has no attribute "_headers"; maybe "add_header"? [attr-defined]
src/paperless_mail/tests/test_preprocessor.py:0: error: "Message[str, str]" has no attribute "_headers"; maybe "add_header"? [attr-defined]
src/paperless_mail/tests/test_preprocessor.py:0: error: "TestMailMessageGpgDecryptor" has no attribute "messageEncryptor" [attr-defined]
src/paperless_mail/tests/test_preprocessor.py:0: error: "TestMailMessageGpgDecryptor" has no attribute "messageEncryptor" [attr-defined]
src/paperless_mail/tests/test_preprocessor.py:0: error: "TestMailMessageGpgDecryptor" has no attribute "messageEncryptor" [attr-defined]
src/paperless_mail/tests/test_preprocessor.py:0: error: "TestMailMessageGpgDecryptor" has no attribute "messageEncryptor" [attr-defined]
src/paperless_mail/tests/test_preprocessor.py:0: error: "TestMailMessageGpgDecryptor" has no attribute "messageEncryptor" [attr-defined]
src/paperless_mail/tests/test_preprocessor.py:0: error: "type[TestMailMessageGpgDecryptor]" has no attribute "messageEncryptor" [attr-defined]
src/paperless_mail/tests/test_preprocessor.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/tests/test_preprocessor.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/test_preprocessor.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/tests/test_preprocessor.py:0: error: Skipping analyzing "gnupg": module is installed, but missing library stubs or py.typed marker [import-untyped]
src/paperless_mail/tests/test_process_mail_accounts_overlap.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
src/paperless_mail/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/views.py:0: error: Function is missing a type annotation [no-untyped-def]
src/paperless_mail/views.py:0: error: Incompatible types in assignment (expression has type "tuple[type[IsAuthenticated]]", variable has type "tuple[type[IsAuthenticated], type[PaperlessObjectPermissions]]") [assignment]
src/paperless_testing/http.py:0: error: Argument 1 to "join" of "bytes" has incompatible type "Iterator[bytes] | AsyncIterator[bytes]"; expected "Iterable[Buffer]" [arg-type]
src/paperless_testing/migrations.py:0: error: Item "None" of "AppConfig | None" has no attribute "name" [union-attr]
src/paperless_testing/retry.py:0: error: Missing type arguments for generic type "Callable" [type-arg]
src/paperless_testing/retry.py:0: error: Missing type arguments for generic type "list" [type-arg]
src/paperless_testing/retry.py:0: error: Missing type arguments for generic type "tuple" [type-arg]