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 parameters for generic type "ModelAdmin"  [type-arg]
src/documents/admin.py:0: error: Missing type parameters for generic type "TabularInline"  [type-arg]
src/documents/admin.py:0: error: Missing type parameters 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/barcodes.py:0: error: Cannot find implementation or library stub for module named "zxingcpp"  [import-not-found]
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: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/bulk_edit.py:0: error: Incompatible return value type (got "Literal['ERROR']", expected "Literal['OK']")  [return-value]
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 "dict_items[Any, Any] | list[tuple[int, None]]", variable has type "list[int] | dict[Any, Any]")  [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, 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 parameters for generic type "dict"  [type-arg]
src/documents/bulk_edit.py:0: error: Missing type parameters 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/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 arguments  [no-untyped-def]
src/documents/caching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/caching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/caching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/caching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/caching.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/documents/caching.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/documents/caching.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/documents/caching.py:0: error: Missing type parameters for generic type "list"  [type-arg]
src/documents/caching.py:0: error: Missing type parameters for generic type "list"  [type-arg]
src/documents/caching.py:0: error: Missing type parameters for generic type "list"  [type-arg]
src/documents/caching.py:0: error: Missing type parameters for generic type "list"  [type-arg]
src/documents/caching.py:0: error: Need type annotation for "_data"  [var-annotated]
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: "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 "stem"  [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: 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 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 return type annotation  [no-untyped-def]
src/documents/classifier.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/classifier.py:0: error: Function is missing a type annotation for one or more arguments  [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 "frozenset[Any]", variable has type "None")  [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: 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: Skipping analyzing "nltk": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/classifier.py:0: error: Skipping analyzing "nltk.corpus": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/classifier.py:0: error: Skipping analyzing "nltk.stem": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/classifier.py:0: error: Skipping analyzing "nltk.tokenize": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/classifier.py:0: error: Unsupported right operand type for in ("None")  [operator]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more arguments  [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 "log"  [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: "get_page_count" of "DocumentParser" does not return a value (it only ever returns None)  [func-returns-value]
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 "Any | None"; expected "str"  [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 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: 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 arguments  [no-untyped-def]
src/documents/consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/consumer.py:0: error: Function is missing a type annotation for one or more arguments  [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 "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: 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 arguments  [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 parameters 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/file_handling.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/file_handling.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
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 for one or more arguments  [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/filters.py:0: error: Function is missing a type annotation for one or more arguments  [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 "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 | 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 parameters for generic type "Callable"  [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: Skipping analyzing "rest_framework_guardian.filters": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/filters.py:0: error: Value of type "Any | None" is not indexable  [index]
src/documents/index.py:0: error: "ManualResults" has no attribute "formatter"  [attr-defined]
src/documents/index.py:0: error: "ManualResults" has no attribute "fragmenter"  [attr-defined]
src/documents/index.py:0: error: "ManualResults" has no attribute "top_n"  [attr-defined]
src/documents/index.py:0: error: "ManualResults" has no attribute "top_n"  [attr-defined]
src/documents/index.py:0: error: Argument 1 to "len" has incompatible type "ManualResults"; expected "Sized"  [arg-type]
src/documents/index.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/index.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/index.py:0: error: Item "str" of "Any | str" has no attribute "id"  [union-attr]
src/documents/index.py:0: error: Missing type parameters for generic type "QuerySet"  [type-arg]
src/documents/index.py:0: error: Missing type parameters for generic type "QuerySet"  [type-arg]
src/documents/index.py:0: error: Missing type parameters for generic type "list"  [type-arg]
src/documents/index.py:0: error: Missing type parameters for generic type "list"  [type-arg]
src/documents/index.py:0: error: Missing type parameters for generic type "list"  [type-arg]
src/documents/index.py:0: error: Missing type parameters for generic type "list"  [type-arg]
src/documents/index.py:0: error: Missing type parameters for generic type "list"  [type-arg]
src/documents/index.py:0: error: Missing type parameters for generic type "set"  [type-arg]
src/documents/index.py:0: error: Missing type parameters for generic type "tuple"  [type-arg]
src/documents/index.py:0: error: Missing type parameters for generic type "tuple"  [type-arg]
src/documents/index.py:0: error: Name "page" already defined on line 0  [no-redef]
src/documents/index.py:0: error: Need type annotation for "saved_results" (hint: "saved_results: dict[<type>, <type>] = ...")  [var-annotated]
src/documents/index.py:0: error: Need type annotation for "termCounts"  [var-annotated]
src/documents/index.py:0: error: Skipping analyzing "whoosh": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.fields": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.highlight": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.idsets": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.index": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.qparser": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.qparser.dateparse": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.qparser.plugins": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.reading": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.scoring": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.searching": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.util.times": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Skipping analyzing "whoosh.writing": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/index.py:0: error: Value of type "ManualResults" 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 arguments  [no-untyped-def]
src/documents/management/commands/convert_mariadb_uuid.py:0: error: Need type annotation for "new_field"  [var-annotated]
src/documents/management/commands/convert_mariadb_uuid.py:0: error: Need type annotation for "old_field"  [var-annotated]
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 arguments  [no-untyped-def]
src/documents/management/commands/document_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [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  [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 arguments  [no-untyped-def]
src/documents/management/commands/document_exporter.py:0: error: Function is missing a type annotation for one or more arguments  [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: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
src/documents/management/commands/document_exporter.py:0: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
src/documents/management/commands/document_exporter.py:0: error: Missing type parameters for generic type "QuerySet"  [type-arg]
src/documents/management/commands/document_exporter.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/documents/management/commands/document_exporter.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/documents/management/commands/document_exporter.py:0: error: Missing type parameters 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 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 arguments  [no-untyped-def]
src/documents/management/commands/document_importer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/management/commands/document_importer.py:0: error: Function is missing a type annotation for one or more arguments  [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: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
src/documents/management/commands/document_importer.py:0: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
src/documents/management/commands/document_importer.py:0: error: Missing type parameters for generic type "Generator"  [type-arg]
src/documents/management/commands/document_importer.py:0: error: Missing type parameters 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_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_llmindex.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/management/commands/document_llmindex.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_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  [no-untyped-def]
src/documents/management/commands/document_retagger.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/management/commands/document_sanity_checker.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/management/commands/document_sanity_checker.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  [no-untyped-def]
src/documents/management/commands/document_thumbnails.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/management/commands/document_thumbnails.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/management/commands/loaddata_stdin.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/management/commands/loaddata_stdin.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/management/commands/loaddata_stdin.py:0: error: Incompatible types in assignment (expression has type "tuple[Callable[[Any, Any], TextIO | Any], None]", target has type "tuple[Callable[[str, Literal['r', 'rb']], BufferedReader[_BufferedReaderStream]]]")  [assignment]
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 arguments  [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: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/management/commands/mixins.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/management/commands/mixins.py:0: error: Incompatible types in assignment (expression has type "list[dict[str, Sequence[str]]]", variable has type "CryptFields")  [assignment]
src/documents/management/commands/mixins.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/documents/management/commands/mixins.py:0: error: Unsupported operand types for // ("None" and "int")  [operator]
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: 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[Any]"  [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 arguments  [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/matching.py:0: error: Function is missing a type annotation for one or more arguments  [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: Incompatible types in assignment (expression has type "tuple[str]", variable has type "str")  [assignment]
src/documents/matching.py:0: error: Incompatible types in assignment (expression has type "tuple[str]", variable has type "str")  [assignment]
src/documents/matching.py:0: error: Incompatible types in assignment (expression has type "tuple[str]", variable has type "str")  [assignment]
src/documents/matching.py:0: error: Incompatible types in assignment (expression has type "tuple[str]", 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/matching.py:0: error: Value of type variable "AnyStr" of "fnmatch" cannot be "object"  [type-var]
src/documents/migrations/0001_initial.py:0: error: Skipping analyzing "multiselectfield": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/migrations/0001_initial.py:0: error: Skipping analyzing "multiselectfield.db": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/migrations/0001_initial.py:0: error: Skipping analyzing "multiselectfield.db.fields": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/migrations/0008_sharelinkbundle.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/migrations/0008_sharelinkbundle.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: Could not resolve manager type for "documents.models.Document.deleted_objects"  [django-manager-missing]
src/documents/models.py:0: error: Could not resolve manager type for "documents.models.Document.global_objects"  [django-manager-missing]
src/documents/models.py:0: error: Could not resolve manager type for "documents.models.Document.objects"  [django-manager-missing]
src/documents/models.py:0: error: Couldn't resolve related manager 'custom_fields' for relation 'documents.models.CustomFieldInstance.document'.  [django-manager-missing]
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 'notes' for relation 'documents.models.Note.document'.  [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: Couldn't resolve related manager 'share_links' for relation 'documents.models.ShareLink.document'.  [django-manager-missing]
src/documents/models.py:0: error: Couldn't resolve related manager 'workflow_runs' for relation 'documents.models.WorkflowRun.document'.  [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 arguments  [no-untyped-def]
src/documents/models.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/models.py:0: error: Need type annotation for "created"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "created"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "created"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "document"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "document"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "document"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "document"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "expiration"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "field"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "file_version"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "note"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "owner"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "run_at"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "slug"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "type"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "user"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "value_bool"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "value_date"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "value_float"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "value_int"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "value_long_text"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "value_monetary"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "value_select"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "value_text"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "value_url"  [var-annotated]
src/documents/models.py:0: error: Need type annotation for "workflow"  [var-annotated]
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/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 arguments  [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/parsers.py:0: error: Incompatible return value type (got "str | Any", expected "type[DocumentParser] | None")  [return-value]
src/documents/parsers.py:0: error: Invalid index type "str | Any" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
src/documents/parsers.py:0: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
src/documents/parsers.py:0: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
src/documents/parsers.py:0: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
src/documents/parsers.py:0: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
src/documents/parsers.py:0: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
src/documents/parsers.py:0: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
src/documents/parsers.py:0: error: Value of type "str | None" is not indexable  [index]
src/documents/parsers.py:0: error: Value of type "str | None" is not indexable  [index]
src/documents/parsers.py:0: error: Value of type "str | None" is not indexable  [index]
src/documents/parsers.py:0: error: Value of type "str | None" is not indexable  [index]
src/documents/parsers.py:0: error: Value of type "str | None" is not indexable  [index]
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  [no-untyped-def]
src/documents/permissions.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/permissions.py:0: error: Function is missing a type annotation for one or more arguments  [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 parameters for generic type "QuerySet"  [type-arg]
src/documents/permissions.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/documents/plugins/helpers.py:0: error: "Collection[str]" has no attribute "update"  [attr-defined]
src/documents/plugins/helpers.py:0: error: Argument 1 to "send" of "BaseStatusManager" has incompatible type "dict[str, Collection[str]]"; expected "dict[str, str | int | None]"  [arg-type]
src/documents/plugins/helpers.py:0: error: Argument 1 to "send" of "BaseStatusManager" has incompatible type "dict[str, Collection[str]]"; expected "dict[str, str | int | None]"  [arg-type]
src/documents/plugins/helpers.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/plugins/helpers.py:0: error: Function is missing a type annotation  [no-untyped-def]
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: Function is missing a return type annotation  [no-untyped-def]
src/documents/regex.py:0: error: Library stubs not installed for "regex"  [import-untyped]
src/documents/sanity_checker.py:0: error: Argument 1 to "Path" has incompatible type "Path | None"; expected "str | PathLike[str]"  [arg-type]
src/documents/sanity_checker.py:0: error: Cannot use Final inside a loop  [misc]
src/documents/sanity_checker.py:0: error: Cannot use Final inside a loop  [misc]
src/documents/sanity_checker.py:0: error: Cannot use Final inside a loop  [misc]
src/documents/sanity_checker.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/sanity_checker.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/sanity_checker.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/sanity_checker.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/sanity_checker.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/sanity_checker.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/sanity_checker.py:0: error: Incompatible type for "task_id" of "PaperlessTask" (got "UUID", expected "str | int | Combinable")  [misc]
src/documents/sanity_checker.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
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/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[Any, Any]"  [override]
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 | Sequence[str]"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
src/documents/serialisers.py:0: error: Argument 1 to "int" has incompatible type "Any | Sequence[str]"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
src/documents/serialisers.py:0: error: Argument 1 to "int" has incompatible type "Any | Sequence[str]"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
src/documents/serialisers.py:0: error: Argument 1 to "int" has incompatible type "Any | Sequence[str]"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
src/documents/serialisers.py:0: error: Argument 1 to "len" has incompatible type "list[Any] | None"; expected "Sized"  [arg-type]
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 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 for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/serialisers.py:0: error: Incompatible type for lookup 'pk': (got "str | None", expected "str | int")  [misc]
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 "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 "Any | None" has no attribute "version"  [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 "None" of "Match[str] | None" has no attribute "group"  [union-attr]
src/documents/serialisers.py:0: error: Item "None" of "ObjectPermissionChecker | None" has no attribute "has_perm"  [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 parameters for generic type "Field"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "Iterable"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ListSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ListSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "PrimaryKeyRelatedField"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "PrimaryKeyRelatedField"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "PrimaryKeyRelatedField"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "PrimaryKeyRelatedField"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "Serializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "Serializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "Serializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "Serializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "Serializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "Serializer"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/documents/serialisers.py:0: error: Missing type parameters 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: Skipping analyzing "auditlog.context": module is installed, but missing library stubs or py.typed marker  [import-untyped]
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: 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: Argument 5 to "_suggestion_printer" has incompatible type "Any | None"; expected "MatchingModel"  [arg-type]
src/documents/signals/handlers.py:0: error: Argument 5 to "_suggestion_printer" has incompatible type "Any | None"; expected "MatchingModel"  [arg-type]
src/documents/signals/handlers.py:0: error: Argument 5 to "_suggestion_printer" has incompatible type "Any | None"; expected "MatchingModel"  [arg-type]
src/documents/signals/handlers.py:0: error: Function is missing a return 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  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/signals/handlers.py:0: error: Incompatible return value type (got "tuple[DocumentMetadataOverrides | None, str]", expected "tuple[DocumentMetadataOverrides, str] | None")  [return-value]
src/documents/signals/handlers.py:0: error: Incompatible types in assignment (expression has type "list[Tag]", variable has type "set[Tag]")  [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 "refresh_from_db"  [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 "tags"  [union-attr]
src/documents/signals/handlers.py:0: error: Item "ConsumableDocument" of "Document | ConsumableDocument" has no attribute "tags"  [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: Missing return statement  [return]
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 "create_source_path_directory" has incompatible type "Path | None"; expected "Path"  [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 return type annotation  [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tasks.py:0: error: Incompatible type for "task_id" of "PaperlessTask" (got "UUID", expected "str | int | Combinable")  [misc]
src/documents/tasks.py:0: error: Incompatible type for "task_id" of "PaperlessTask" (got "UUID", expected "str | int | Combinable")  [misc]
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: Incompatible types in assignment (expression has type "type[DocumentParser] | None", variable has type "type[DocumentParser]")  [assignment]
src/documents/tasks.py:0: error: Missing type parameters for generic type "Task"  [type-arg]
src/documents/tasks.py:0: error: Missing type parameters 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: Skipping analyzing "whoosh.writing": 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 arguments  [no-untyped-def]
src/documents/templating/filepath.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/templating/filepath.py:0: error: Function is missing a type annotation for one or more arguments  [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/conftest.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/conftest.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/factories.py:0: error: Missing type parameters for generic type "DjangoModelFactory"  [type-arg]
src/documents/tests/factories.py:0: error: Missing type parameters for generic type "DjangoModelFactory"  [type-arg]
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  [no-untyped-def]
src/documents/tests/test_admin.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime"  [attr-defined]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "ai_enabled"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "app_logo"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "app_logo"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "app_logo"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "app_title"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "app_title"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "barcode_tag_mapping"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "color_conversion_strategy"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "language"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "llm_api_key"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "llm_api_key"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "llm_api_key"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "llm_embedding_backend"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "refresh_from_db"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "refresh_from_db"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/documents/tests/test_api_app_config.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "user_args"  [union-attr]
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 arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [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_custom_fields.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_api_custom_fields.py:0: error: Value of type "Any | None" is not indexable  [index]
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 "assertCountEqual" of "TestCase" has incompatible type "list[int] | None"; expected "Iterable[Any]"  [arg-type]
src/documents/tests/test_api_documents.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/test_api_documents.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/tests/test_api_documents.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/tests/test_api_documents.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_documents.py:0: error: Function is missing a type annotation for one or more arguments  [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 "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 arguments  [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: 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 arguments  [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 parameters for generic type "list"  [type-arg]
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Missing type parameters 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 arguments  [no-untyped-def]
src/documents/tests/test_api_objects.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
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 arguments  [no-untyped-def]
src/documents/tests/test_api_permissions.py:0: error: Function is missing a type annotation for one or more arguments  [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_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 arguments  [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_profile.py:0: error: Function is missing a type annotation for one or more arguments  [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_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 arguments  [no-untyped-def]
src/documents/tests/test_api_search.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_search.py:0: error: Function is missing a type annotation for one or more arguments  [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: Skipping analyzing "whoosh.writing": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/documents/tests/test_api_status.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_status.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_status.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_status.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_api_tasks.py:0: error: Function is missing a type annotation for one or more arguments  [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 return type annotation  [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 "assign_title"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowAction | None" has no attribute "id"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_custom_field_query"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_custom_field_query"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_all_tags"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_all_tags"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_any_correspondents"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_any_correspondents"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_any_document_types"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_any_document_types"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_any_storage_paths"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_any_storage_paths"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_not_correspondents"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_not_correspondents"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_not_document_types"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_not_document_types"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_not_storage_paths"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_not_storage_paths"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_not_tags"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_not_tags"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_tags"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "filter_has_tags"  [union-attr]
src/documents/tests/test_api_workflows.py:0: error: Item "None" of "WorkflowTrigger | None" has no attribute "id"  [union-attr]
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: Argument 3 to "BarcodePlugin" has incompatible type "DummyProgressManager"; expected "ProgressManager"  [arg-type]
src/documents/tests/test_barcodes.py:0: error: Argument 3 to "BarcodePlugin" has incompatible type "DummyProgressManager"; expected "ProgressManager"  [arg-type]
src/documents/tests/test_barcodes.py:0: error: Argument 3 to "BarcodePlugin" has incompatible type "DummyProgressManager"; expected "ProgressManager"  [arg-type]
src/documents/tests/test_barcodes.py:0: error: Cannot find implementation or library stub for module named "zxingcpp"  [import-not-found]
src/documents/tests/test_barcodes.py:0: error: Function is missing a return type annotation  [no-untyped-def]
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: Item "None" of "ApplicationConfiguration | None" has no attribute "barcode_string"  [union-attr]
src/documents/tests/test_barcodes.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "barcodes_enabled"  [union-attr]
src/documents/tests/test_barcodes.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/documents/tests/test_barcodes.py:0: error: Item "None" of "Document | None" has no attribute "archive_serial_number"  [union-attr]
src/documents/tests/test_barcodes.py:0: error: Item "None" of "Tag | None" has no attribute "name"  [union-attr]
src/documents/tests/test_barcodes.py:0: error: Item "None" of "Tag | None" has no attribute "name"  [union-attr]
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  [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  [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  [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  [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  [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 arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more arguments  [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 "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_bulk_edit.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_bulk_edit.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_bulk_edit.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [union-attr]
src/documents/tests/test_bulk_edit.py:0: error: Item "None" of "CustomFieldInstance | None" has no attribute "value"  [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: Unsupported operand types for - ("None" and "int")  [operator]
src/documents/tests/test_caching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
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: 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 return type annotation  [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_classifier.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | Any | None"; expected "PathLike[Any] | str"  [arg-type]
src/documents/tests/test_consumer.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | Any | None"; expected "PathLike[Any] | str"  [arg-type]
src/documents/tests/test_consumer.py:0: error: Argument 2 to "has_perm" of "ObjectPermissionChecker" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_consumer.py:0: error: Argument 2 to "has_perm" of "ObjectPermissionChecker" has incompatible type "Document | None"; expected "Model"  [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 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  [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 arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_consumer.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "None")  [assignment]
src/documents/tests/test_consumer.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "None")  [assignment]
src/documents/tests/test_consumer.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "None")  [assignment]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Correspondent | Any | None" has no attribute "id"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "archive_checksum"  [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 "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_path"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "archive_path"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "archive_serial_number"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "checksum"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "content"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "created"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "created"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "created"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "created"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "created"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "created"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "created"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "custom_fields"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "custom_fields"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "custom_fields"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "delete"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "delete"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [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 "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 "owner"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "pk"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "pk"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "source_path"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "source_path"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "source_path"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "storage_path"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "thumbnail_path"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "DocumentType | Any | None" has no attribute "id"  [union-attr]
src/documents/tests/test_consumer.py:0: error: Item "None" of "StoragePath | Any | None" has no attribute "id"  [union-attr]
src/documents/tests/test_consumer.py:0: error: No overload variant of "copy" matches argument types "Any", "None"  [call-overload]
src/documents/tests/test_delayedquery.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/tests/test_delayedquery.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/tests/test_delayedquery.py:0: error: Need type annotation for "tests"  [var-annotated]
src/documents/tests/test_delayedquery.py:0: error: Skipping analyzing "whoosh": module is installed, but missing library stubs or py.typed marker  [import-untyped]
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 arguments  [no-untyped-def]
src/documents/tests/test_double_sided.py:0: error: Function is missing a type annotation for one or more arguments  [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 "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[Any] | 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[Any] | 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[Any] | 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[Any] | 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[Any] | 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[Any] | 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[Any] | 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[Any] | 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[Any] | 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[Any] | 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[Any] | 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[Any] | 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[Any] | 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[Any] | str"  [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 arguments  [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_file_handling.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
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_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_filters.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/test_filters.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/test_filters.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/test_filters.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/test_filters.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/test_index.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_index.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "timezone"  [attr-defined]
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[Any] | str"  [arg-type]
src/documents/tests/test_management.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[Any] | str"  [arg-type]
src/documents/tests/test_management.py:0: error: Argument 1 to "assertIsNotFile" of "FileSystemAssertsMixin" has incompatible type "Path | None"; expected "PathLike[Any] | 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 for one or more arguments  [no-untyped-def]
src/documents/tests/test_management.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_management.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_management.py:0: error: Function is missing a type annotation for one or more arguments  [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 arguments  [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 arguments  [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: 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_retagger.py:0: error: Function is missing a return type annotation  [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_migration_share_link_bundle.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_migration_share_link_bundle.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_migration_share_link_bundle.py:0: error: Incompatible types in assignment (expression has type "str", base class "TestMigrations" defined the type as "None")  [assignment]
src/documents/tests/test_migration_share_link_bundle.py:0: error: Incompatible types in assignment (expression has type "str", base class "TestMigrations" defined the type as "None")  [assignment]
src/documents/tests/test_migration_share_link_bundle.py:0: error: Incompatible types in assignment (expression has type "str", base class "TestMigrations" defined the type as "None")  [assignment]
src/documents/tests/test_migration_share_link_bundle.py:0: error: Incompatible types in assignment (expression has type "str", base class "TestMigrations" defined the type as "None")  [assignment]
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_parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_sanity_check.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/test_sanity_check.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_sanity_check.py:0: error: Invalid index type "None" for "dict[int, list[dict[Any, Any]]]"; expected type "int"  [index]
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: Argument 1 to "ZipFile" has incompatible type "Path | None"; expected "str | PathLike[str] | IO[bytes]"  [arg-type]
src/documents/tests/test_share_link_bundles.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_share_link_bundles.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_share_link_bundles.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_share_link_bundles.py:0: error: Item "None" of "Any | None" has no attribute "get"  [union-attr]
src/documents/tests/test_share_link_bundles.py:0: error: Item "None" of "Any | None" has no attribute "get"  [union-attr]
src/documents/tests/test_share_link_bundles.py:0: error: Item "None" of "Path | None" has no attribute "exists"  [union-attr]
src/documents/tests/test_share_link_bundles.py:0: error: Item "None" of "Path | None" has no attribute "exists"  [union-attr]
src/documents/tests/test_share_link_bundles.py:0: error: Item "None" of "Path | None" has no attribute "read_bytes"  [union-attr]
src/documents/tests/test_share_link_bundles.py:0: error: Item "None" of "Path | None" has no attribute "resolve"  [union-attr]
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: Argument "original_file" to "ConsumableDocument" has incompatible type "str"; expected "Path"  [arg-type]
src/documents/tests/test_task_signals.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "str"; expected "Path"  [arg-type]
src/documents/tests/test_task_signals.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "str"; expected "Path"  [arg-type]
src/documents/tests/test_task_signals.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "str"; expected "Path"  [arg-type]
src/documents/tests/test_task_signals.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_task_signals.py:0: error: Need type annotation for "body"  [var-annotated]
src/documents/tests/test_task_signals.py:0: error: Need type annotation for "body"  [var-annotated]
src/documents/tests/test_task_signals.py:0: error: Need type annotation for "body"  [var-annotated]
src/documents/tests/test_task_signals.py:0: error: Need type annotation for "body"  [var-annotated]
src/documents/tests/test_tasks.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_tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more arguments  [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: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_views.py:0: error: Function is missing a type annotation for one or more arguments  [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: 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_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 "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | str"; expected "Path"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument "original_file" to "ConsumableDocument" has incompatible type "Any | 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 "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_groups_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [arg-type]
src/documents/tests/test_workflows.py:0: error: Argument 1 to "get_users_with_perms" has incompatible type "Document | None"; expected "Model"  [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 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 return type annotation  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a return 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  [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  [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  [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 arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more arguments  [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: Item "Group" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "correspondent"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "custom_fields"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "custom_fields"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "custom_fields"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "custom_fields"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "custom_fields"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "document_type"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "owner"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "owner"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "owner"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "owner"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "owner"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "owner"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "owner"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "owner"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "storage_path"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "storage_path"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "storage_path"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "storage_path"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "storage_path"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "storage_path"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "storage_path"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "storage_path"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "storage_path"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "tags"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "title"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "None" of "Document | None" has no attribute "title"  [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 "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Item "str" of "Any | str" has no attribute "name"  [union-attr]
src/documents/tests/test_workflows.py:0: error: Missing type parameters for generic type "QuerySet"  [type-arg]
src/documents/tests/test_workflows.py:0: error: Missing type parameters for generic type "QuerySet"  [type-arg]
src/documents/tests/test_workflows.py:0: error: Missing type parameters for generic type "QuerySet"  [type-arg]
src/documents/tests/test_workflows.py:0: error: Missing type parameters for generic type "QuerySet"  [type-arg]
src/documents/tests/test_workflows.py:0: error: Missing type parameters for generic type "QuerySet"  [type-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/test_workflows.py:0: error: Too few arguments for "count" of "list"  [call-arg]
src/documents/tests/utils.py:0: error: "Collection[str]" has no attribute "update"  [attr-defined]
src/documents/tests/utils.py:0: error: "FileSystemAssertsMixin" has no attribute "assertEqual"; maybe "assertFilesEqual"?  [attr-defined]
src/documents/tests/utils.py:0: error: "FileSystemAssertsMixin" has no attribute "assertEqual"; maybe "assertFilesEqual"?  [attr-defined]
src/documents/tests/utils.py:0: error: "FileSystemAssertsMixin" has no attribute "assertFalse"; maybe "assertIsFile"?  [attr-defined]
src/documents/tests/utils.py:0: error: "FileSystemAssertsMixin" has no attribute "assertFalse"; maybe "assertIsFile"?  [attr-defined]
src/documents/tests/utils.py:0: error: "FileSystemAssertsMixin" has no attribute "assertTrue"  [attr-defined]
src/documents/tests/utils.py:0: error: "FileSystemAssertsMixin" has no attribute "assertTrue"  [attr-defined]
src/documents/tests/utils.py:0: error: "FileSystemAssertsMixin" has no attribute "assertTrue"  [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: "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: "setUp" undefined in superclass  [misc]
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: "tearDown" undefined in superclass  [misc]
src/documents/tests/utils.py:0: error: "tearDown" undefined in superclass  [misc]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "archive_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "archive_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "archive_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "consumption_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "consumption_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "data_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "data_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "data_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "data_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "data_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "index_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "index_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "index_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "logging_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "logging_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "logging_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "media_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "media_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "media_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "media_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "media_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "media_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "originals_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "originals_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "originals_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "scratch_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "scratch_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "settings_override"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "settings_override"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "static_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "static_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "thumbnail_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "thumbnail_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: "type[dirs@34]" has no attribute "thumbnail_dir"  [attr-defined]
src/documents/tests/utils.py:0: error: Cannot determine type of "apps"  [has-type]
src/documents/tests/utils.py:0: error: First argument to namedtuple() should be "dirs", not "Dirs"  [name-match]
src/documents/tests/utils.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/utils.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/utils.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/documents/tests/utils.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/documents/tests/utils.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/utils.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/utils.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/utils.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/tests/utils.py:0: error: Item "None" of "AppConfig | None" has no attribute "name"  [union-attr]
src/documents/tests/utils.py:0: error: Missing type parameters for generic type "Callable"  [type-arg]
src/documents/tests/utils.py:0: error: Missing type parameters for generic type "PathLike"  [type-arg]
src/documents/tests/utils.py:0: error: Missing type parameters for generic type "PathLike"  [type-arg]
src/documents/tests/utils.py:0: error: Missing type parameters for generic type "PathLike"  [type-arg]
src/documents/tests/utils.py:0: error: Missing type parameters for generic type "PathLike"  [type-arg]
src/documents/tests/utils.py:0: error: Missing type parameters for generic type "PathLike"  [type-arg]
src/documents/tests/utils.py:0: error: Missing type parameters for generic type "PathLike"  [type-arg]
src/documents/tests/utils.py:0: error: Missing type parameters for generic type "PathLike"  [type-arg]
src/documents/tests/utils.py:0: error: Missing type parameters for generic type "list"  [type-arg]
src/documents/tests/utils.py:0: error: Missing type parameters for generic type "tuple"  [type-arg]
src/documents/tests/utils.py:0: error: Need type annotation for "payloads" (hint: "payloads: list[<type>] = ...")  [var-annotated]
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 parameters for generic type "CompletedProcess"  [type-arg]
src/documents/validators.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
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: "BulkPermissionMixin" has no attribute "request"  [attr-defined]
src/documents/views.py:0: error: "get_serializer_context" undefined in superclass  [misc]
src/documents/views.py:0: error: "object" not callable  [operator]
src/documents/views.py:0: error: "type[Model]" has no attribute "objects"  [attr-defined]
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 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [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 4 to "autocomplete" has incompatible type "User | AnonymousUser | None"; expected "User | None"  [arg-type]
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 for one or more arguments  [no-untyped-def]
src/documents/views.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/views.py:0: error: Incompatible type for lookup 'owner': (got "User | AnonymousUser", expected "User | int | None")  [misc]
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 "QuerySet[Any, Any]", variable has type "list[Any]")  [assignment]
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "QuerySet[Any, Any]", variable has type "list[Document]")  [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]]", 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[DelayedMoreLikeThisQuery]", variable has type "type[DelayedFullTextQuery]")  [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 "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 "dict[str, _PingReply] | None" has no attribute "keys"  [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 parameters for generic type "GenericAPIView"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "GenericViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "ReadOnlyModelViewSet"  [type-arg]
src/documents/views.py:0: error: Missing type parameters for generic type "Serializer"  [type-arg]
src/documents/views.py:0: error: Missing type parameters 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 "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: 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: TypedDict key must be a string literal; expected one of ("pk", "correspondent", "document_type", "storage_path", "tags", ...)  [literal-required]
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[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[MailAccount]" is not indexable  [index]
src/documents/views.py:0: error: Value of type "Iterable[MailRule]" is not indexable  [index]
src/documents/views.py:0: error: Value of type "Iterable[SavedView]" 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/views.py:0: error: Value of type "dict[str, _PingReply] | None" is not indexable  [index]
src/documents/workflows/actions.py:0: error: Argument "files" to "delay" of "Task" has incompatible type "dict[str, tuple[str, bytes, str]] | None"; expected "dict[Any, Any]"  [arg-type]
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 arguments  [no-untyped-def]
src/documents/workflows/actions.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/workflows/actions.py:0: error: Function is missing a type annotation for one or more arguments  [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 parameters for generic type "dict"  [type-arg]
src/documents/workflows/actions.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/documents/workflows/actions.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
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 arguments  [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 "_format_ip_for_url" of "WebhookTransport" has incompatible type "str | int"; expected "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 "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: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/documents/workflows/webhooks.py:0: error: Incompatible return value type (got "str | int | None", expected "str | None")  [return-value]
src/documents/workflows/webhooks.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/documents/workflows/webhooks.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/documents/workflows/webhooks.py:0: error: Missing type parameters 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 parameters for generic type "ModelForm"  [type-arg]
src/paperless/admin.py:0: error: Missing type parameters 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: 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/checks.py:0: error: Argument 1 to "append" of "list" has incompatible type "Warning"; expected "Error"  [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: Function is missing a type annotation  [no-untyped-def]
src/paperless/checks.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless/checks.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless/checks.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless/checks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/checks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
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 "Any | 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/consumers.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless/consumers.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless/consumers.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless/consumers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/consumers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/consumers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/consumers.py:0: error: Item "None" of "UserLazyObject | None" has no attribute "groups"  [union-attr]
src/paperless/consumers.py:0: error: Item "None" of "UserLazyObject | None" has no attribute "id"  [union-attr]
src/paperless/consumers.py:0: error: Item "None" of "UserLazyObject | None" has no attribute "id"  [union-attr]
src/paperless/consumers.py:0: error: Item "None" of "UserLazyObject | None" has no attribute "is_authenticated"  [union-attr]
src/paperless/consumers.py:0: error: Item "None" of "UserLazyObject | None" has no attribute "is_superuser"  [union-attr]
src/paperless/consumers.py:0: error: Item "UserLazyObject" of "UserLazyObject | None" has no attribute "groups"  [union-attr]
src/paperless/consumers.py:0: error: Item "UserLazyObject" of "UserLazyObject | None" has no attribute "id"  [union-attr]
src/paperless/consumers.py:0: error: Item "UserLazyObject" of "UserLazyObject | None" has no attribute "id"  [union-attr]
src/paperless/consumers.py:0: error: Item "UserLazyObject" of "UserLazyObject | None" has no attribute "is_superuser"  [union-attr]
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/migrations/0001_initial.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/serialisers.py:0: error: "PasswordValidationMixin" has no attribute "instance"  [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 for one or more arguments  [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 parameters for generic type "ModelSerializer"  [type-arg]
src/paperless/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/paperless/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/paperless/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [type-arg]
src/paperless/serialisers.py:0: error: Missing type parameters for generic type "ModelSerializer"  [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.py:0: error: "Sequence[str]" has no attribute "append"  [attr-defined]
src/paperless/settings.py:0: error: "Sequence[str]" has no attribute "insert"  [attr-defined]
src/paperless/settings.py:0: error: "object" has no attribute "update"  [attr-defined]
src/paperless/settings.py:0: error: "object" has no attribute "update"  [attr-defined]
src/paperless/settings.py:0: error: "object" has no attribute "update"  [attr-defined]
src/paperless/settings.py:0: error: "object" has no attribute "update"  [attr-defined]
src/paperless/settings.py:0: error: Argument 1 to "_parse_ignore_dates" has incompatible type "str | None"; expected "str"  [arg-type]
src/paperless/settings.py:0: error: Argument 1 to "append" of "list" has incompatible type "str | None"; expected "str"  [arg-type]
src/paperless/settings.py:0: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
src/paperless/settings.py:0: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
src/paperless/settings.py:0: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
src/paperless/settings.py:0: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
src/paperless/settings.py:0: error: Argument 2 to "__get_path" has incompatible type "str | None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless/settings.py:0: error: Argument 2 to "getenv" has incompatible type "None"; expected "Collection[str]"  [arg-type]
src/paperless/settings.py:0: error: Argument 2 to "getenv" has incompatible type "None"; expected "Collection[str]"  [arg-type]
src/paperless/settings.py:0: error: Argument 2 to "getenv" has incompatible type "None"; expected "Collection[str]"  [arg-type]
src/paperless/settings.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless/settings.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless/settings.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless/settings.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless/settings.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless/settings.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/settings.py:0: error: Incompatible return value type (got "set[date]", expected "set[datetime]")  [return-value]
src/paperless/settings.py:0: error: Incompatible return value type (got "tuple[str | None, str, str, str, str]", expected "tuple[str, str, str, str, str]")  [return-value]
src/paperless/settings.py:0: error: Incompatible types in assignment (expression has type "bool", variable has type "str")  [assignment]
src/paperless/settings.py:0: error: Incompatible types in assignment (expression has type "set[datetime]", variable has type "set[date]")  [assignment]
src/paperless/settings.py:0: error: Missing type parameters for generic type "PathLike"  [type-arg]
src/paperless/settings.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/paperless/settings.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/paperless/settings.py:0: error: No overload variant of "getenv" matches argument types "Collection[str]", "Collection[str]"  [call-overload]
src/paperless/settings.py:0: error: Skipping analyzing "compression_middleware.middleware": module is installed, but missing library stubs or py.typed marker  [import-untyped]
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/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: Function is missing a type annotation for one or more arguments  [no-untyped-def]
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_db_cache.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/tests/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/test_settings.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/tests/test_settings.py:0: error: Function is missing a type annotation for one or more arguments  [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_utils.py:0: error: Function is missing a type annotation  [no-untyped-def]
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: Function is missing a type annotation  [no-untyped-def]
src/paperless/tests/test_views.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless/tests/test_websockets.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/tests/test_websockets.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/tests/test_websockets.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/tests/test_websockets.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/tests/test_websockets.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/tests/test_websockets.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless/tests/test_websockets.py:0: error: Item "None" of "BaseChannelLayer | None" has no attribute "group_send"  [union-attr]
src/paperless/tests/test_websockets.py:0: error: Item "None" of "BaseChannelLayer | None" has no attribute "group_send"  [union-attr]
src/paperless/tests/test_websockets.py:0: error: Item "None" of "BaseChannelLayer | None" has no attribute "group_send"  [union-attr]
src/paperless/tests/test_websockets.py:0: error: Item "None" of "BaseChannelLayer | None" has no attribute "group_send"  [union-attr]
src/paperless/tests/test_websockets.py:0: error: Item "None" of "BaseChannelLayer | None" has no attribute "group_send"  [union-attr]
src/paperless/tests/test_websockets.py:0: error: Item "None" of "BaseChannelLayer | None" has no attribute "group_send"  [union-attr]
src/paperless/tests/test_websockets.py:0: error: Item "None" of "BaseChannelLayer | None" has no attribute "group_send"  [union-attr]
src/paperless/tests/test_websockets.py:0: error: TypedDict "_WebsocketTestScope" has no key "user"  [typeddict-item]
src/paperless/tests/test_websockets.py:0: error: TypedDict "_WebsocketTestScope" has no key "user"  [typeddict-item]
src/paperless/tests/test_websockets.py:0: error: TypedDict "_WebsocketTestScope" has no key "user"  [typeddict-item]
src/paperless/tests/test_websockets.py:0: error: TypedDict "_WebsocketTestScope" has no key "user"  [typeddict-item]
src/paperless/tests/test_websockets.py:0: error: TypedDict "_WebsocketTestScope" has no key "user"  [typeddict-unknown-key]
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: 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.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/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: 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 "Any | None" has no attribute "results"  [union-attr]
src/paperless/views.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "ai_enabled"  [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 "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: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/paperless/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/paperless/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/paperless/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/paperless/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/paperless/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/paperless/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/paperless/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
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 "str"; expected "dict[Any, Any]"  [arg-type]
src/paperless_ai/ai_classifier.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
src/paperless_ai/ai_classifier.py:0: error: Missing type parameters for generic type "dict"  [type-arg]
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/client.py:0: error: Incompatible return value type (got "dict[str, Any]", expected "str")  [return-value]
src/paperless_ai/indexing.py:0: error: Argument "persist_dir" to "from_defaults" of "StorageContext" has incompatible type "Path"; expected "str | None"  [arg-type]
src/paperless_ai/indexing.py:0: error: Argument 1 to "from_persist_dir" of "FaissVectorStore" has incompatible type "Path"; expected "str"  [arg-type]
src/paperless_ai/indexing.py:0: error: Argument 1 to "from_persist_dir" of "SimpleDocumentStore" has incompatible type "Path"; expected "str"  [arg-type]
src/paperless_ai/indexing.py:0: error: Argument 1 to "from_persist_dir" of "SimpleIndexStore" has incompatible type "Path"; expected "str"  [arg-type]
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 arguments  [no-untyped-def]
src/paperless_ai/indexing.py:0: error: Skipping analyzing "faiss": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/paperless_ai/matching.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_ai/matching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/matching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/matching.py:0: error: Missing type parameters for generic type "list"  [type-arg]
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_indexing.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_ai_indexing.py:0: error: Return type "list[float]" of "_aget_query_embedding" incompatible with return type "Coroutine[Any, Any, list[float]]" in supertype "llama_index.core.base.embeddings.base.BaseEmbedding"  [override]
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 return type annotation  [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more arguments  [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: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]"  [index]
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_matching.py:0: error: Argument "user" to "match_correspondents_by_name" has incompatible type "None"; expected "User"  [arg-type]
src/paperless_ai/tests/test_matching.py:0: error: Argument "user" to "match_document_types_by_name" has incompatible type "None"; expected "User"  [arg-type]
src/paperless_ai/tests/test_matching.py:0: error: Argument "user" to "match_storage_paths_by_name" has incompatible type "None"; expected "User"  [arg-type]
src/paperless_ai/tests/test_matching.py:0: error: Argument "user" to "match_tags_by_name" has incompatible type "None"; expected "User"  [arg-type]
src/paperless_ai/tests/test_matching.py:0: error: Argument "user" to "match_tags_by_name" has incompatible type "None"; expected "User"  [arg-type]
src/paperless_ai/tests/test_matching.py:0: error: Argument "user" to "match_tags_by_name" has incompatible type "None"; expected "User"  [arg-type]
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: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_matching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_matching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_matching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_matching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_ai/tests/test_matching.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/admin.py:0: error: Missing type parameters for generic type "ModelAdmin"  [type-arg]
src/paperless_mail/admin.py:0: error: Missing type parameters 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: 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 return type annotation  [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/mail.py:0: error: Incompatible return value type (got "MailBoxUnencrypted", expected "MailBox")  [return-value]
src/paperless_mail/mail.py:0: error: Incompatible type for "uid" of "ProcessedMail" (got "str | None", expected "str | int | Combinable")  [misc]
src/paperless_mail/mail.py:0: error: Incompatible types in assignment (expression has type "MailBox", variable has type "MailBoxUnencrypted")  [assignment]
src/paperless_mail/mail.py:0: error: Incompatible types in assignment (expression has type "MailBoxStartTls", variable has type "MailBoxUnencrypted")  [assignment]
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 "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 parameters for generic type "dict"  [type-arg]
src/paperless_mail/management/commands/mail_fetcher.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/parsers.py:0: error: "tuple[str, ...]" has no attribute "encode"  [attr-defined]
src/paperless_mail/parsers.py:0: error: Argument 1 to "make_thumbnail_from_pdf" has incompatible type "None"; expected "Path"  [arg-type]
src/paperless_mail/parsers.py:0: error: Argument 2 to "generate_pdf" of "MailDocumentParser" has incompatible type "int"; expected "PdfLayout | None"  [arg-type]
src/paperless_mail/parsers.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_mail/parsers.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_mail/parsers.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_mail/parsers.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_mail/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/parsers.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "None")  [assignment]
src/paperless_mail/parsers.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "None")  [assignment]
src/paperless_mail/parsers.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "None")  [assignment]
src/paperless_mail/parsers.py:0: error: Incompatible types in assignment (expression has type "int", variable has type "PdfLayout | None")  [assignment]
src/paperless_mail/parsers.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "None")  [assignment]
src/paperless_mail/parsers.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "tuple[str, ...]")  [assignment]
src/paperless_mail/parsers.py:0: error: Item "None" of "EmailAddress | None" has no attribute "full"  [union-attr]
src/paperless_mail/parsers.py:0: error: Item "None" of "EmailAddress | None" has no attribute "full"  [union-attr]
src/paperless_mail/parsers.py:0: error: Need type annotation for "result" (hint: "result: list[<type>] = ...")  [var-annotated]
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 for one or more arguments  [no-untyped-def]
src/paperless_mail/serialisers.py:0: error: Missing type parameters for generic type "PrimaryKeyRelatedField"  [type-arg]
src/paperless_mail/signals.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_mail/signals.py:0: error: Function is missing a type annotation  [no-untyped-def]
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 "flagged"  [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "MailMessage" has no attribute "flagged"  [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: "MailMessage" has no attribute "seen"  [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[att@480]" has no attribute "filename"  [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message2@426]" has no attribute "from_"  [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message2@426]" has no attribute "from_"  [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message2@426]" has no attribute "from_values"  [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message@419]" has no attribute "from_"  [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message@419]" has no attribute "from_values"  [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message@478]" has no attribute "subject"  [attr-defined]
src/paperless_mail/tests/test_mail.py:0: error: "type[message@531]" has no attribute "attachments"  [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 "MailboxFolderSelectError" has incompatible type "None"; expected "tuple[Any, ...]"  [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "MailboxLoginError" has incompatible type "str"; expected "tuple[Any, ...]"  [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "MailboxLoginError" has incompatible type "str"; expected "tuple[Any, ...]"  [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "MailboxLoginError" has incompatible type "str"; expected "tuple[Any, ...]"  [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "MailboxLoginError" has incompatible type "str"; 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@426]"; 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@426]"; 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@419]"; 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@419]"; 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@419]"; 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@419]"; 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@478]"; 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@478]"; 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@478]"; expected "MailMessage"  [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "filter" has incompatible type "Callable[[Any], bool]"; expected "Callable[[MailMessage], TypeGuard[Never]]"  [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 1 to "filter" has incompatible type "Callable[[Any], bool]"; expected "Callable[[MailMessage], TypeGuard[Never]]"  [arg-type]
src/paperless_mail/tests/test_mail.py:0: error: Argument 2 to "_get_title" of "MailAccountHandler" has incompatible type "type[att@480]"; 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@480]"; 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@480]"; 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: 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 "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  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]")  [assignment]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]")  [assignment]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]")  [assignment]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]")  [assignment]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]")  [assignment]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible types in assignment (expression has type "filter[MailMessage]", variable has type "list[MailMessage]")  [assignment]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible types in assignment (expression has type "filter[Never]", variable has type "list[MailMessage]")  [assignment]
src/paperless_mail/tests/test_mail.py:0: error: Incompatible types in assignment (expression has type "filter[Never]", variable has type "list[MailMessage]")  [assignment]
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: Item "None" of "MailRule | None" has no attribute "name"  [union-attr]
src/paperless_mail/tests/test_mail.py:0: error: Missing type parameters for generic type "AbstractContextManager"  [type-arg]
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_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  [no-untyped-def]
src/paperless_mail/tests/test_mail_oauth.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_mail/tests/test_mail_oauth.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_mail/tests/test_mail_oauth.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_mail/tests/test_parsers.py:0: error: Argument 1 to "extract_metadata" of "MailDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_mail/tests/test_parsers.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_mail/tests/test_parsers.py:0: error: Item "None" of "Request | None" has no attribute "url"  [union-attr]
src/paperless_mail/tests/test_parsers.py:0: error: Item "None" of "Request | None" has no attribute "url"  [union-attr]
src/paperless_mail/tests/test_parsers_live.py:0: error: List item 0 has incompatible type "str | None"; expected "str | bytes | PathLike[str] | PathLike[bytes]"  [list-item]
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/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: Incompatible types in assignment (expression has type "tuple[type[IsAuthenticated]]", variable has type "tuple[type[IsAuthenticated], type[PaperlessObjectPermissions]]")  [assignment]
src/paperless_mail/views.py:0: error: Missing type parameters for generic type "GenericAPIView"  [type-arg]
src/paperless_mail/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/paperless_mail/views.py:0: error: Missing type parameters for generic type "ModelViewSet"  [type-arg]
src/paperless_mail/views.py:0: error: Missing type parameters for generic type "ReadOnlyModelViewSet"  [type-arg]
src/paperless_remote/checks.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_remote/parsers.py:0: error: "None" has no attribute "open"  [attr-defined]
src/paperless_remote/parsers.py:0: error: Argument "engine" to "RemoteEngineConfig" has incompatible type "str | None"; expected "str"  [arg-type]
src/paperless_remote/parsers.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_remote/parsers.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_remote/parsers.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_remote/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_remote/parsers.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "None")  [assignment]
src/paperless_remote/parsers.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "None")  [assignment]
src/paperless_remote/parsers.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "None")  [assignment]
src/paperless_remote/parsers.py:0: error: Return type "RemoteEngineConfig" of "get_settings" incompatible with return type "OcrConfig" in supertype "paperless_tesseract.parsers.RasterisedDocumentParser"  [override]
src/paperless_remote/signals.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_remote/signals.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_remote/signals.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_remote/tests/test_parser.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_remote/tests/test_parser.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_remote/tests/test_parser.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/checks.py:0: error: Argument 1 to "append" of "list" has incompatible type "Error"; expected "Warning"  [arg-type]
src/paperless_tesseract/checks.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_tesseract/checks.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tesseract/checks.py:0: error: List item 0 has incompatible type "str | None"; expected "str | bytes | PathLike[str] | PathLike[bytes]"  [list-item]
src/paperless_tesseract/parsers.py:0: error: Argument "logger" to "run_subprocess" has incompatible type "LoggerAdapter[Logger]"; expected "Logger | None"  [arg-type]
src/paperless_tesseract/parsers.py:0: error: Argument "logger" to "run_subprocess" has incompatible type "LoggerAdapter[Logger]"; expected "Logger | None"  [arg-type]
src/paperless_tesseract/parsers.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tesseract/parsers.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tesseract/parsers.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tesseract/parsers.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tesseract/parsers.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tesseract/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/parsers.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "str")  [assignment]
src/paperless_tesseract/parsers.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "None")  [assignment]
src/paperless_tesseract/parsers.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "None")  [assignment]
src/paperless_tesseract/parsers.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "None")  [assignment]
src/paperless_tesseract/parsers.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "None")  [assignment]
src/paperless_tesseract/parsers.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "None")  [assignment]
src/paperless_tesseract/parsers.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "None")  [assignment]
src/paperless_tesseract/parsers.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "None")  [assignment]
src/paperless_tesseract/parsers.py:0: error: List item 4 has incompatible type "Path"; expected "str"  [list-item]
src/paperless_tesseract/parsers.py:0: error: List item 5 has incompatible type "Path"; expected "str"  [list-item]
src/paperless_tesseract/signals.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tesseract/signals.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tesseract/tests/test_checks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/tests/test_checks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/tests/test_checks.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "assertIsFile" of "FileSystemAssertsMixin" has incompatible type "None"; expected "PathLike[Any] | str"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Argument 1 to "parse" of "RasterisedDocumentParser" has incompatible type "str"; expected "Path"  [arg-type]
src/paperless_tesseract/tests/test_parser.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/tests/test_parser.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/tests/test_parser.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/tests/test_parser.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/tests/test_parser.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tesseract/tests/test_parser.py:0: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "color_conversion_strategy"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "deskew"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "language"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "max_image_pixels"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "mode"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "output_type"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "pages"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "save"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "unpaper_clean"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "unpaper_clean"  [union-attr]
src/paperless_tesseract/tests/test_parser_custom_settings.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "user_args"  [union-attr]
src/paperless_text/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_text/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_text/parsers.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "None")  [assignment]
src/paperless_text/signals.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_text/signals.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tika/parsers.py:0: error: Argument 1 to "make_thumbnail_from_pdf" has incompatible type "None"; expected "Path"  [arg-type]
src/paperless_tika/parsers.py:0: error: Function is missing a return type annotation  [no-untyped-def]
src/paperless_tika/parsers.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tika/parsers.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tika/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tika/parsers.py:0: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
src/paperless_tika/parsers.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "None")  [assignment]
src/paperless_tika/signals.py:0: error: Function is missing a type annotation  [no-untyped-def]
src/paperless_tika/signals.py:0: error: Function is missing a type annotation  [no-untyped-def]
