|
|
|
@@ -17,6 +17,7 @@ src/documents/admin.py:0: error: Missing type arguments for generic type "Tabula
|
|
|
|
|
src/documents/admin.py:0: error: Missing type arguments for generic type "TabularInline" [type-arg]
|
|
|
|
|
src/documents/admin.py:0: error: Skipping analyzing "auditlog.admin": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/admin.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/admin.py:0: error: Skipping analyzing "treenode.admin": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/barcodes.py:0: error: "Image" has no attribute "filename" [attr-defined]
|
|
|
|
|
src/documents/bulk_download.py:0: error: Return type "None" of "add_document" incompatible with return type "Never" in supertype "BulkArchiveStrategy" [override]
|
|
|
|
|
src/documents/bulk_download.py:0: error: Return type "None" of "add_document" incompatible with return type "Never" in supertype "BulkArchiveStrategy" [override]
|
|
|
|
@@ -38,13 +39,10 @@ src/documents/bulk_edit.py:0: error: Invalid index type "str" for "dict[FieldDat
|
|
|
|
|
src/documents/bulk_edit.py:0: error: List comprehension has incompatible type List[tuple[int, Any]]; expected List[int] [misc]
|
|
|
|
|
src/documents/bulk_edit.py:0: error: List comprehension has incompatible type List[tuple[int, None]]; expected List[int] [misc]
|
|
|
|
|
src/documents/bulk_edit.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/bulk_edit.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/bulk_edit.py:0: error: Need type annotation for "to_create" (hint: "to_create: list[<type>] = ...") [var-annotated]
|
|
|
|
|
src/documents/bulk_edit.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/bulk_edit.py:0: error: Unexpected keyword argument "transaction_id" for "delete" of "QuerySet" [call-arg]
|
|
|
|
|
src/documents/bulk_operations.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/bulk_operations.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/bulk_operations.py:0: error: Skipping analyzing "auditlog.context": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/bulk_operations.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/caching.py:0: error: Argument 1 to "hexlify" has incompatible type "bytes | None"; expected "Buffer" [arg-type]
|
|
|
|
|
src/documents/caching.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/caching.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -115,7 +113,6 @@ src/documents/consumer.py:0: error: Argument "logger" to "run_subprocess" has in
|
|
|
|
|
src/documents/consumer.py:0: error: Argument "text" to "_store" of "ConsumerPlugin" has incompatible type "str | Any | None"; expected "str" [arg-type]
|
|
|
|
|
src/documents/consumer.py:0: error: Argument 1 to "compute_checksum" has incompatible type "Path | None"; expected "Path" [arg-type]
|
|
|
|
|
src/documents/consumer.py:0: error: Argument 1 to "create_source_path_directory" has incompatible type "Path | None"; expected "Path" [arg-type]
|
|
|
|
|
src/documents/consumer.py:0: error: Argument 1 to "get_value_field_name" of "CustomFieldInstance" has incompatible type "str"; expected "FieldDataType" [arg-type]
|
|
|
|
|
src/documents/consumer.py:0: error: Argument 1 to "validate_path_in_root" has incompatible type "Path | None"; expected "Path" [arg-type]
|
|
|
|
|
src/documents/consumer.py:0: error: Argument 2 to "parse_w_workflow_placeholders" has incompatible type "str | None"; expected "str" [arg-type]
|
|
|
|
|
src/documents/consumer.py:0: error: Argument 3 to "parse_w_workflow_placeholders" has incompatible type "str | None"; expected "str" [arg-type]
|
|
|
|
@@ -137,12 +134,19 @@ src/documents/consumer.py:0: error: Item "None" of "Document | None" has no attr
|
|
|
|
|
src/documents/consumer.py:0: error: List item 2 has incompatible type "Path"; expected "str" [list-item]
|
|
|
|
|
src/documents/consumer.py:0: error: Return type "ConsumeFileSuccessResult" of "run" incompatible with return type "str | None" in supertype "documents.plugins.base.ConsumeTaskPlugin" [override]
|
|
|
|
|
src/documents/consumer.py:0: error: Too many arguments for "__init__" of "object" [call-arg]
|
|
|
|
|
src/documents/consumer.py:0: error: Value of type "dict[Any, Any] | None" is not indexable [index]
|
|
|
|
|
src/documents/context_processors.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/converters.py:0: error: List item 3 has incompatible type "Path"; expected "str" [list-item]
|
|
|
|
|
src/documents/converters.py:0: error: List item 4 has incompatible type "Path"; expected "str" [list-item]
|
|
|
|
|
src/documents/converters.py:0: error: Skipping analyzing "img2pdf": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/data_models.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/data_models.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment]
|
|
|
|
|
src/documents/data_models.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "__iter__" (not iterable) [union-attr]
|
|
|
|
|
src/documents/data_models.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "__iter__" (not iterable) [union-attr]
|
|
|
|
|
src/documents/data_models.py:0: error: Item "list[str]" of "Any | list[str]" has no attribute "values_list" [union-attr]
|
|
|
|
|
src/documents/data_models.py:0: error: Item "list[str]" of "Any | list[str]" has no attribute "values_list" [union-attr]
|
|
|
|
|
src/documents/data_models.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/data_models.py:0: error: Value of type "Group | dict[Any, Any]" is not indexable [index]
|
|
|
|
|
src/documents/data_models.py:0: error: Value of type "Group | dict[Any, Any]" is not indexable [index]
|
|
|
|
|
src/documents/export/sinks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "AbstractContextManager" [type-arg]
|
|
|
|
|
src/documents/export/sinks.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
@@ -191,8 +195,6 @@ src/documents/filters.py:0: error: Function is missing a type annotation [no-un
|
|
|
|
|
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/filters.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -202,7 +204,6 @@ src/documents/filters.py:0: error: Function is missing a type annotation for one
|
|
|
|
|
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/filters.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "CharField", variable has type "BooleanField | None") [assignment]
|
|
|
|
|
src/documents/filters.py:0: error: Incompatible types in assignment (expression has type "DateQueryField", 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]
|
|
|
|
@@ -232,6 +233,7 @@ src/documents/management/commands/document_consumer.py:0: error: Function is mis
|
|
|
|
|
src/documents/management/commands/document_consumer.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/management/commands/document_consumer.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "str") [assignment]
|
|
|
|
|
src/documents/management/commands/document_create_classifier.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/management/commands/document_exporter.py:0: error: Argument 1 to "add" of "set" has incompatible type "Path"; expected "str" [arg-type]
|
|
|
|
|
src/documents/management/commands/document_exporter.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/management/commands/document_exporter.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/management/commands/document_exporter.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "Path") [assignment]
|
|
|
|
@@ -285,6 +287,8 @@ src/documents/management/commands/prune_audit_logs.py:0: error: Function is miss
|
|
|
|
|
src/documents/management/commands/prune_audit_logs.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/matching.py:0: error: Argument 1 to "existing_document_matches_workflow" has incompatible type "ConsumableDocument | Document"; expected "Document" [arg-type]
|
|
|
|
|
src/documents/matching.py:0: error: Argument 1 to "issubset" of "set" has incompatible type "set[int] | None"; expected "Iterable[object]" [arg-type]
|
|
|
|
|
src/documents/matching.py:0: error: Argument 1 to "matches" has incompatible type "WorkflowTrigger"; expected "MatchingModel" [arg-type]
|
|
|
|
|
src/documents/matching.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/matching.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/matching.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/matching.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
@@ -337,12 +341,21 @@ src/documents/models.py:0: error: Function is missing a type annotation [no-unt
|
|
|
|
|
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/models.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/models.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/models.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/models.py:0: error: Signature of "delete" incompatible with supertype "django.db.models.base.Model" [override]
|
|
|
|
|
src/documents/models.py:0: error: Skipping analyzing "auditlog.registry": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/models.py:0: error: Skipping analyzing "django_softdelete.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/models.py:0: error: Skipping analyzing "multiselectfield": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/models.py:0: error: Skipping analyzing "treenode.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/models.py:0: error: Unexpected keyword argument "transaction_id" for "delete" of "Model" [call-arg]
|
|
|
|
|
src/documents/models.py:0: error: Unexpected keyword argument "transaction_id" for "delete" of "QuerySet" [call-arg]
|
|
|
|
|
src/documents/parsers.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/parsers.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/parsers.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/parsers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/parsers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/parsers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -354,14 +367,21 @@ src/documents/permissions.py:0: error: Function is missing a return type annotat
|
|
|
|
|
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/permissions.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/permissions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/permissions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/permissions.py:0: error: Incompatible return value type (got "QuerySet[Model, ModelT]", expected "QuerySet[ModelT, ModelT]") [return-value]
|
|
|
|
|
src/documents/permissions.py:0: error: Item "list[str]" of "Any | list[str] | QuerySet[User, User]" has no attribute "exclude" [union-attr]
|
|
|
|
|
src/documents/permissions.py:0: error: Item "list[str]" of "Any | list[str] | QuerySet[User, User]" has no attribute "exists" [union-attr]
|
|
|
|
|
src/documents/permissions.py:0: error: Item "list[str]" of "Any | list[str] | QuerySet[User, User]" has no attribute "exists" [union-attr]
|
|
|
|
|
src/documents/permissions.py:0: error: Missing type arguments for generic type "QuerySet" [type-arg]
|
|
|
|
|
src/documents/permissions.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/permissions.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/permissions.py:0: error: Missing type arguments for generic type "list" [type-arg]
|
|
|
|
|
src/documents/permissions.py:0: error: Type argument "int" of "QuerySet" must be a subtype of "Model" [type-var]
|
|
|
|
|
src/documents/permissions.py:0: error: Type argument "int" of "QuerySet" must be a subtype of "Model" [type-var]
|
|
|
|
|
src/documents/permissions.py:0: error: TypedDict key must be a string literal; expected one of ("users", "groups") [literal-required]
|
|
|
|
|
src/documents/plugins/helpers.py:0: error: Skipping analyzing "channels_redis.pubsub": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/regex.py:0: error: "error" has no attribute "msg" [attr-defined]
|
|
|
|
|
src/documents/regex.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
@@ -377,7 +397,6 @@ src/documents/search/_backend.py:0: error: Argument "args" to "apply_async" of "
|
|
|
|
|
src/documents/search/_backend.py:0: error: Argument "args" to "apply_async" of "Task" has incompatible type "list[int]"; expected "tuple[Any, ...] | None" [arg-type]
|
|
|
|
|
src/documents/search/_backend.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/search/_backend.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/search/_backend.py:0: error: Incompatible types in assignment (expression has type "Document | None", variable has type "Document") [assignment]
|
|
|
|
|
src/documents/search/_backend.py:0: error: Incompatible types in assignment (expression has type "SoftFileLock", variable has type "None") [assignment]
|
|
|
|
|
src/documents/search/_backend.py:0: error: List comprehension has incompatible type List[tuple[DocAddress, Any]]; expected List[tuple[DocAddress]] [misc]
|
|
|
|
|
src/documents/search/_backend.py:0: error: List comprehension has incompatible type List[tuple[DocAddress, Any]]; expected List[tuple[DocAddress]] [misc]
|
|
|
|
@@ -390,6 +409,7 @@ src/documents/search/_query.py:0: error: Argument 3 to "Term" has incompatible t
|
|
|
|
|
src/documents/search/_query.py:0: error: Argument 3 to "Term" has incompatible type "**dict[str, int | None]"; expected "bool" [arg-type]
|
|
|
|
|
src/documents/search/_query.py:0: error: Unexpected keyword argument "children" for "Node" [call-arg]
|
|
|
|
|
src/documents/search/_schema.py:0: error: Redundant cast to "Path" [redundant-cast]
|
|
|
|
|
src/documents/search/_schema.py:0: error: Unexpected keyword argument "fast" for "add_json_field" of "SchemaBuilder" [call-arg]
|
|
|
|
|
src/documents/serialisers.py:0: error: "type[_MT?]" has no attribute "_meta" [attr-defined]
|
|
|
|
|
src/documents/serialisers.py:0: error: "type[_MT?]" has no attribute "objects" [attr-defined]
|
|
|
|
|
src/documents/serialisers.py:0: error: "type[_MT?]" has no attribute "objects" [attr-defined]
|
|
|
|
@@ -399,12 +419,8 @@ src/documents/serialisers.py:0: error: Argument "default" to "MultipleChoiceFiel
|
|
|
|
|
src/documents/serialisers.py:0: error: Argument 1 of "get_value" is incompatible with supertype "rest_framework.fields.Field"; supertype defines the argument type as "Mapping[str, Any]" [override]
|
|
|
|
|
src/documents/serialisers.py:0: error: Argument 1 of "update" is incompatible with supertype "rest_framework.serializers.BaseSerializer"; supertype defines the argument type as "dict[str, Any]" [override]
|
|
|
|
|
src/documents/serialisers.py:0: error: Argument 1 to "__get__" of "BaseManager" has incompatible type "PrimaryKeyRelatedField[Any]"; expected "Options[Any] | None" [arg-type]
|
|
|
|
|
src/documents/serialisers.py:0: error: Argument 1 to "__get__" of "BaseManager" has incompatible type "PrimaryKeyRelatedField[Any]"; expected "Options[Any] | None" [arg-type]
|
|
|
|
|
src/documents/serialisers.py:0: error: Argument 1 to "__get__" of "BaseManager" has incompatible type "PrimaryKeyRelatedField[Any]"; expected "Options[Any] | None" [arg-type]
|
|
|
|
|
src/documents/serialisers.py:0: error: Argument 1 to "__get__" of "BaseManager" has incompatible type "PrimaryKeyRelatedField[Any]"; expected "Options[Any] | None" [arg-type]
|
|
|
|
|
src/documents/serialisers.py:0: error: Argument 1 to "__get__" of "BaseManager" has incompatible type "PrimaryKeyRelatedField[Any]"; expected "Options[Any] | None" [arg-type]
|
|
|
|
|
src/documents/serialisers.py:0: error: Argument 1 to "get_value_field_name" of "CustomFieldInstance" has incompatible type "str"; expected "FieldDataType" [arg-type]
|
|
|
|
|
src/documents/serialisers.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc" [arg-type]
|
|
|
|
|
src/documents/serialisers.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
|
|
|
|
|
src/documents/serialisers.py:0: error: Argument 1 to "list" has incompatible type "QuerySet[Document, TypedDict({'id': int, 'title': str, 'deleted_at': datetime | None})]"; expected "Iterable[dict[str, Any]]" [arg-type]
|
|
|
|
|
src/documents/serialisers.py:0: error: Expected iterable as variadic argument [misc]
|
|
|
|
|
src/documents/serialisers.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
@@ -414,6 +430,11 @@ src/documents/serialisers.py:0: error: Function is missing a return type annotat
|
|
|
|
|
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]
|
|
|
|
@@ -482,7 +503,6 @@ src/documents/serialisers.py:0: error: Function is missing a type annotation [n
|
|
|
|
|
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -534,6 +554,8 @@ src/documents/serialisers.py:0: error: Incompatible types in assignment (express
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "Field[Any, Any, Any, Any]" of "Field[Any, Any, Any, Any] | None" has no attribute "fetch_documents" [union-attr]
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "Field[Any, Any, Any, Any]" of "Field[Any, Any, Any, Any] | None" has no attribute "get_shared_object_pks" [union-attr]
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "Field[Any, Any, Any, Any]" of "Field[Any, Any, Any, Any] | None" has no attribute "get_shared_object_pks" [union-attr]
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "None" of "Any | None" has no attribute "name" [union-attr]
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "None" of "Any | None" has no attribute "pk" [union-attr]
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "None" of "CustomField | None" has no attribute "name" [union-attr]
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any] | None" has no attribute "context" [union-attr]
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any] | None" has no attribute "context" [union-attr]
|
|
|
|
@@ -541,10 +563,15 @@ src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any]
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any] | None" has no attribute "fetch_documents" [union-attr]
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any] | None" has no attribute "get_shared_object_pks" [union-attr]
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "None" of "Field[Any, Any, Any, Any] | None" has no attribute "get_shared_object_pks" [union-attr]
|
|
|
|
|
src/documents/serialisers.py:0: error: Item "list[str]" of "Any | list[str]" has no attribute "values_list" [union-attr]
|
|
|
|
|
src/documents/serialisers.py:0: error: Missing type arguments for generic type "Field" [type-arg]
|
|
|
|
|
src/documents/serialisers.py:0: error: Missing type arguments for generic type "Iterable" [type-arg]
|
|
|
|
|
src/documents/serialisers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/serialisers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/serialisers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/serialisers.py:0: error: Need type annotation for "document" [var-annotated]
|
|
|
|
|
src/documents/serialisers.py:0: error: Need type annotation for "documents" [var-annotated]
|
|
|
|
|
src/documents/serialisers.py:0: error: Need type annotation for "permissions_dict" [var-annotated]
|
|
|
|
|
src/documents/serialisers.py:0: error: No overload variant of "get" of "dict" matches argument types "str", "str" [call-overload]
|
|
|
|
|
src/documents/serialisers.py:0: error: No overload variant of "get" of "dict" matches argument types "str", "str" [call-overload]
|
|
|
|
|
src/documents/serialisers.py:0: error: No overload variant of "get" of "dict" matches argument types "str", "str" [call-overload]
|
|
|
|
@@ -603,7 +630,6 @@ src/documents/signals/handlers.py:0: error: Item "ConsumableDocument" of "Docume
|
|
|
|
|
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 "BaseChannelLayer | None" has no attribute "group_send" [union-attr]
|
|
|
|
|
src/documents/signals/handlers.py:0: error: Item "None" of "Path | Any | None" has no attribute "is_file" [union-attr]
|
|
|
|
|
src/documents/signals/handlers.py:0: error: Item "None" of "Path | Any | None" has no attribute "is_file" [union-attr]
|
|
|
|
|
src/documents/signals/handlers.py:0: error: Item "None" of "Path | Any | None" has no attribute "is_file" [union-attr]
|
|
|
|
@@ -648,11 +674,11 @@ src/documents/templating/filepath.py:0: error: Function is missing a type annota
|
|
|
|
|
src/documents/templating/filepath.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/templating/filepath.py:0: error: Incompatible types in assignment (expression has type "QuerySet[Tag, Tag]", variable has type "list[Tag]") [assignment]
|
|
|
|
|
src/documents/templating/filepath.py:0: error: Need type annotation for "field_data" [var-annotated]
|
|
|
|
|
src/documents/templating/filters.py:0: error: Incompatible types in assignment (expression has type "date | None", variable has type "str | datetime") [assignment]
|
|
|
|
|
src/documents/templating/filters.py:0: error: Incompatible types in assignment (expression has type "datetime | None", variable has type "date | datetime | str") [assignment]
|
|
|
|
|
src/documents/templating/filters.py:0: error: Item "str" of "str | datetime" has no attribute "strftime" [union-attr]
|
|
|
|
|
src/documents/templating/utils.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/templating/workflows.py:0: error: Argument 1 to "update" of "MutableMapping" has incompatible type "dict[str, dict[str, dict[str, str]]]"; expected "SupportsKeysAndGetItem[str, str]" [arg-type]
|
|
|
|
|
src/documents/templating/workflows.py:0: error: Incompatible return value type (got "None", expected "str") [return-value]
|
|
|
|
|
src/documents/tests/export/test_sinks.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/management/test_management_base_cmd.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
@@ -691,7 +717,6 @@ src/documents/tests/search/test_acceptance.py:0: error: Function is missing a ty
|
|
|
|
|
src/documents/tests/search/test_acceptance.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/search/test_backend.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/search/test_backend.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/search/test_backend.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/search/test_backend.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/search/test_backend.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/search/test_cjk_clause.py:0: error: Argument 1 to "_build_cjk_query" has incompatible type "None"; expected "Index" [arg-type]
|
|
|
|
@@ -766,8 +791,6 @@ src/documents/tests/test_api_bulk_download.py:0: error: Argument 1 to "read_stre
|
|
|
|
|
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 [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -823,12 +846,6 @@ src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type a
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/tests/test_api_bulk_edit.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/tests/test_api_chat.py:0: error: "_MonkeyPatchedResponse" has no attribute "streaming_content" [attr-defined]
|
|
|
|
|
src/documents/tests/test_api_custom_fields.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -837,13 +854,6 @@ src/documents/tests/test_api_document_versions.py:0: error: Argument 1 to "read_
|
|
|
|
|
src/documents/tests/test_api_document_versions.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
|
|
|
|
|
src/documents/tests/test_api_document_versions.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
|
|
|
|
|
src/documents/tests/test_api_document_versions.py:0: error: Argument 1 to "read_streaming_response" has incompatible type "_MonkeyPatchedResponse"; expected "StreamingHttpResponse" [arg-type]
|
|
|
|
|
src/documents/tests/test_api_document_versions.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_document_versions.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_document_versions.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_document_versions.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_document_versions.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_document_versions.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_document_versions.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
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]
|
|
|
|
@@ -879,7 +889,6 @@ src/documents/tests/test_api_email.py:0: error: Function is missing a type annot
|
|
|
|
|
src/documents/tests/test_api_email.py:0: error: Item "None" of "Path | None" has no attribute "stat" [union-attr]
|
|
|
|
|
src/documents/tests/test_api_email.py:0: error: Value of type variable "_StrPathT" of "copy" cannot be "Path | None" [type-var]
|
|
|
|
|
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Argument 1 to "quote" has incompatible type "str | None"; expected "str" [arg-type]
|
|
|
|
|
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Cannot infer type of lambda [misc]
|
|
|
|
|
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_filter_by_custom_fields.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -892,13 +901,6 @@ src/documents/tests/test_api_objects.py:0: error: Function is missing a type ann
|
|
|
|
|
src/documents/tests/test_api_objects.py:0: error: Item "Group" of "Group | dict[Any, Any]" has no attribute "count" [union-attr]
|
|
|
|
|
src/documents/tests/test_api_objects.py:0: error: Item "dict[Any, Any]" of "Group | dict[Any, Any]" has no attribute "count" [union-attr]
|
|
|
|
|
src/documents/tests/test_api_objects.py:0: error: Too few arguments for "count" of "list" [call-arg]
|
|
|
|
|
src/documents/tests/test_api_ocr_templates.py:0: error: "Response" has no attribute "json" [attr-defined]
|
|
|
|
|
src/documents/tests/test_api_ocr_templates.py:0: error: "Response" has no attribute "json" [attr-defined]
|
|
|
|
|
src/documents/tests/test_api_ocr_templates.py:0: error: "Response" has no attribute "json" [attr-defined]
|
|
|
|
|
src/documents/tests/test_api_ocr_templates.py:0: error: Argument 1 to "save" of "Image" has incompatible type "Path | None"; expected "str | bytes | PathLike[str] | PathLike[bytes] | IO[bytes]" [arg-type]
|
|
|
|
|
src/documents/tests/test_api_ocr_templates.py:0: error: Incompatible types in assignment (expression has type "Response", variable has type "_MonkeyPatchedResponse") [assignment]
|
|
|
|
|
src/documents/tests/test_api_ocr_templates.py:0: error: Incompatible types in assignment (expression has type "Response", variable has type "_MonkeyPatchedResponse") [assignment]
|
|
|
|
|
src/documents/tests/test_api_ocr_templates.py:0: error: Item "None" of "OcrTemplateZone | None" has no attribute "name" [union-attr]
|
|
|
|
|
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]
|
|
|
|
@@ -926,9 +928,6 @@ src/documents/tests/test_api_profile.py:0: error: Function is missing a type ann
|
|
|
|
|
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_release_notes.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_release_notes.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/tests/test_api_release_notes.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/tests/test_api_schema.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_schema.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_schema.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -956,7 +955,6 @@ src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator"
|
|
|
|
|
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
|
|
|
|
|
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
|
|
|
|
|
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
|
|
|
|
|
src/documents/tests/test_api_schema.py:0: error: Value of type "SchemaGenerator" is not indexable [index]
|
|
|
|
|
src/documents/tests/test_api_search.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_search.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_api_search.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -991,14 +989,7 @@ src/documents/tests/test_barcodes.py:0: error: "GetReaderPluginMixin" has no att
|
|
|
|
|
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 1 to "list" has incompatible type "QuerySet[DocumentBarcode, TypedDict({'page': int, 'value': str, 'format': str})]"; expected "Iterable[dict[Any, Any]]" [arg-type]
|
|
|
|
|
src/documents/tests/test_barcodes.py:0: error: Incompatible types in assignment (expression has type "Path", variable has type "str") [assignment]
|
|
|
|
|
src/documents/tests/test_barcodes.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/tests/test_barcodes.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/tests/test_barcodes.py:0: error: Missing type arguments for generic type "list" [type-arg]
|
|
|
|
|
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]
|
|
|
|
@@ -1024,8 +1015,7 @@ src/documents/tests/test_bulk_edit.py:0: error: Argument 2 to "set_document_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: Dict entry 0 has incompatible type "Literal['not_a_real_action']": "PermissionGranteesUpdate"; expected "Literal['view', 'change']": "PermissionGranteesUpdate" [dict-item]
|
|
|
|
|
src/documents/tests/test_bulk_edit.py:0: error: Dict entry 1 has incompatible type "Literal['not_a_real_action']": "PermissionGranteesUpdate"; expected "Literal['view', 'change']": "PermissionGranteesUpdate" [dict-item]
|
|
|
|
|
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_edit.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -1071,34 +1061,6 @@ src/documents/tests/test_bulk_edit.py:0: error: Item "dict[Any, Any]" of "Group
|
|
|
|
|
src/documents/tests/test_bulk_edit.py:0: error: Too few arguments for "count" of "list" [call-arg]
|
|
|
|
|
src/documents/tests/test_bulk_edit.py:0: error: Too few arguments for "count" of "list" [call-arg]
|
|
|
|
|
src/documents/tests/test_bulk_edit.py:0: error: Too few arguments for "count" of "list" [call-arg]
|
|
|
|
|
src/documents/tests/test_bulk_edit.py:0: error: Unused "type: ignore" comment [unused-ignore]
|
|
|
|
|
src/documents/tests/test_bulk_edit.py:0: error: Unused "type: ignore" comment [unused-ignore]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Item "None" of "BaseChannelLayer | None" has no attribute "group_send" [union-attr]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: TypedDict "_WebsocketTestScope" has no key "user" [typeddict-unknown-key]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: TypedDict "_WebsocketTestScope" has no key "user" [typeddict-unknown-key]
|
|
|
|
|
src/documents/tests/test_bulk_operations.py:0: error: Value of type "Any | None" is not indexable [index]
|
|
|
|
|
src/documents/tests/test_classifier.py:0: error: "None" has no attribute "classes_" [attr-defined]
|
|
|
|
|
src/documents/tests/test_classifier.py:0: error: "None" has no attribute "classes_" [attr-defined]
|
|
|
|
|
src/documents/tests/test_classifier.py:0: error: "None" has no attribute "classes_" [attr-defined]
|
|
|
|
@@ -1196,7 +1158,6 @@ src/documents/tests/test_consumer_archive.py:0: error: Function is missing a typ
|
|
|
|
|
src/documents/tests/test_consumer_archive.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_consumer_archive.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_consumer_archive.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_consumer_zone_ocr.py:0: error: Module "pytest_django.fixtures" has no attribute "SettingsWrapper" [attr-defined]
|
|
|
|
|
src/documents/tests/test_document_list_effective_content_annotation.py:0: error: Incompatible types in assignment (expression has type "SimpleNamespace", variable has type "Request") [assignment]
|
|
|
|
|
src/documents/tests/test_document_list_effective_content_annotation.py:0: error: Incompatible types in assignment (expression has type "SimpleNamespace", variable has type "Request") [assignment]
|
|
|
|
|
src/documents/tests/test_double_sided.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
@@ -1289,8 +1250,6 @@ src/documents/tests/test_matchables.py:0: error: Missing type arguments for gene
|
|
|
|
|
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
|
|
|
|
|
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
|
|
|
|
|
src/documents/tests/test_matchables.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
|
|
|
|
|
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_merge_documents_as_versions.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -1315,14 +1274,11 @@ src/documents/tests/test_models.py:0: error: Item "None" of "Document | None" ha
|
|
|
|
|
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: "None" object is not iterable [misc]
|
|
|
|
|
src/documents/tests/test_parsers.py:0: error: "float" object is not iterable [misc]
|
|
|
|
|
src/documents/tests/test_permission_filtering_security.py:0: error: Argument "classifier" to "match_correspondents" has incompatible type "None"; expected "DocumentClassifier" [arg-type]
|
|
|
|
|
src/documents/tests/test_permission_filtering_security.py:0: error: Argument "classifier" to "match_document_types" has incompatible type "None"; expected "DocumentClassifier" [arg-type]
|
|
|
|
|
src/documents/tests/test_permission_filtering_security.py:0: error: Argument "classifier" to "match_storage_paths" has incompatible type "None"; expected "DocumentClassifier" [arg-type]
|
|
|
|
|
src/documents/tests/test_permission_filtering_security.py:0: error: Argument "classifier" to "match_tags" has incompatible type "None"; expected "DocumentClassifier" [arg-type]
|
|
|
|
|
src/documents/tests/test_permission_filtering_security.py:0: error: Argument 1 to "permitted_document_ids" has incompatible type "AnonymousUser"; expected "User | None" [arg-type]
|
|
|
|
|
src/documents/tests/test_permission_filtering_security.py:0: error: Argument 1 to "permitted_document_ids" has incompatible type "AnonymousUser"; expected "User | None" [arg-type]
|
|
|
|
|
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_permission_filtering_security.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
@@ -1376,12 +1332,10 @@ src/documents/tests/test_share_link_bundles.py:0: error: "_MonkeyPatchedResponse
|
|
|
|
|
src/documents/tests/test_share_link_bundles.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_share_link_bundles.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_share_link_bundles.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_tag_adjacency.py:0: error: "Model" has no attribute "name" [attr-defined]
|
|
|
|
|
src/documents/tests/test_tag_adjacency.py:0: error: "Model" has no attribute "tn_parent_id" [attr-defined]
|
|
|
|
|
src/documents/tests/test_share_link_bundles.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_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: Incompatible types in assignment (expression has type "Literal[204, 200]", variable has type "Literal[403]") [assignment]
|
|
|
|
|
src/documents/tests/test_tag_hierarchy.py:0: error: Need type annotation for "context" (hint: "context: dict[<type>, <type>] = ...") [var-annotated]
|
|
|
|
|
src/documents/tests/test_task_signals.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_task_signals.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
@@ -1391,7 +1345,6 @@ src/documents/tests/test_task_signals.py:0: error: Function is missing a type an
|
|
|
|
|
src/documents/tests/test_task_signals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_task_signals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_task_signals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_task_signals.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_task_signals.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/tests/test_task_signals.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/tests/test_task_signals.py:0: error: Missing type arguments for generic type "tuple" [type-arg]
|
|
|
|
@@ -1407,8 +1360,6 @@ src/documents/tests/test_tasks.py:0: error: Function is missing a type annotatio
|
|
|
|
|
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_tasks.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_utils.py:0: error: "ImageFile" has no attribute "n_frames"; maybe "_min_frame"? [attr-defined]
|
|
|
|
|
src/documents/tests/test_utils.py:0: error: "ImageFile" has no attribute "n_frames"; maybe "_min_frame"? [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 "render" [attr-defined]
|
|
|
|
|
src/documents/tests/test_views.py:0: error: "_MonkeyPatchedWSGIResponse" has no attribute "url" [attr-defined]
|
|
|
|
@@ -1490,10 +1441,6 @@ src/documents/tests/test_workflows.py:0: error: Argument 2 to "assertIn" of "Tes
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Argument 2 to "assertIn" of "TestCase" has incompatible type "str | None"; expected "Iterable[Any] | Container[Any]" [arg-type]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -1548,8 +1495,6 @@ src/documents/tests/test_workflows.py:0: error: Item "None" of "Request | None"
|
|
|
|
|
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 "None" of "WorkflowActionWebhook | None" has no attribute "params" [union-attr]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Item "None" of "WorkflowActionWebhook | None" has no attribute "use_params" [union-attr]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Item "str" of "Path | str" has no attribute "name" [union-attr]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Name "group_perms" already defined on line 0 [no-redef]
|
|
|
|
|
src/documents/tests/test_workflows.py:0: error: Name "group_perms" already defined on line 0 [no-redef]
|
|
|
|
@@ -1566,15 +1511,6 @@ src/documents/tests/test_workflows.py:0: error: Too few arguments for "count" of
|
|
|
|
|
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_zone_ocr.py:0: error: Item "None" of "Image | None" has no attribute "__enter__" [union-attr]
|
|
|
|
|
src/documents/tests/test_zone_ocr.py:0: error: Item "None" of "Image | None" has no attribute "__enter__" [union-attr]
|
|
|
|
|
src/documents/tests/test_zone_ocr.py:0: error: Item "None" of "Image | None" has no attribute "__enter__" [union-attr]
|
|
|
|
|
src/documents/tests/test_zone_ocr.py:0: error: Item "None" of "Image | None" has no attribute "__enter__" [union-attr]
|
|
|
|
|
src/documents/tests/test_zone_ocr.py:0: error: Item "None" of "Image | None" has no attribute "__exit__" [union-attr]
|
|
|
|
|
src/documents/tests/test_zone_ocr.py:0: error: Item "None" of "Image | None" has no attribute "__exit__" [union-attr]
|
|
|
|
|
src/documents/tests/test_zone_ocr.py:0: error: Item "None" of "Image | None" has no attribute "__exit__" [union-attr]
|
|
|
|
|
src/documents/tests/test_zone_ocr.py:0: error: Item "None" of "Image | None" has no attribute "__exit__" [union-attr]
|
|
|
|
|
src/documents/tests/test_zone_ocr.py:0: error: Module "pytest_django.fixtures" has no attribute "SettingsWrapper" [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]
|
|
|
|
@@ -1588,28 +1524,27 @@ src/documents/utils.py:0: error: Incompatible types in assignment (expression ha
|
|
|
|
|
src/documents/utils.py:0: error: Missing type arguments for generic type "CompletedProcess" [type-arg]
|
|
|
|
|
src/documents/validators.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/versioning.py:0: error: Missing type arguments for generic type "Prefetch" [type-arg]
|
|
|
|
|
src/documents/versioning.py:0: error: Type argument "int" of "QuerySet" must be a subtype of "Model" [type-var]
|
|
|
|
|
src/documents/views.py:0: error: "BulkPermissionMixin" has no attribute "filter_queryset" [attr-defined]
|
|
|
|
|
src/documents/views.py:0: error: "BulkPermissionMixin" has no attribute "get_queryset" [attr-defined]
|
|
|
|
|
src/documents/views.py:0: error: "BulkPermissionMixin" has no attribute "queryset" [attr-defined]
|
|
|
|
|
src/documents/views.py:0: error: "BulkPermissionMixin" has no attribute "queryset" [attr-defined]
|
|
|
|
|
src/documents/views.py:0: error: "Sequence[_SupportsHasPermission]" has no attribute "append" [attr-defined]
|
|
|
|
|
src/documents/views.py:0: error: "get_serializer_context" undefined in superclass [misc]
|
|
|
|
|
src/documents/views.py:0: error: "object" has no attribute "apply_async" [attr-defined]
|
|
|
|
|
src/documents/views.py:0: error: "type[DocumentFilterSet]" has no attribute "base_filters" [attr-defined]
|
|
|
|
|
src/documents/views.py:0: error: "type[DocumentFilterSet]" has no attribute "declared_filters" [attr-defined]
|
|
|
|
|
src/documents/views.py:0: error: "type[Model]" has no attribute "objects" [attr-defined]
|
|
|
|
|
src/documents/views.py:0: error: Argument "filename" to "FileResponse" has incompatible type "str | Any | None"; expected "str" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument "path" to "EmailAttachment" has incompatible type "Path | None"; expected "Path" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument "user" to "_has_document_permissions" of "DocumentOperationPermissionMixin" has incompatible type "User | AnonymousUser"; expected "User" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument "user" to "_has_document_permissions" of "DocumentOperationPermissionMixin" has incompatible type "User | AnonymousUser"; expected "User" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument "user" to "_resolve_document_ids" of "DocumentSelectionMixin" has incompatible type "User | AnonymousUser"; expected "User" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument "user" to "_resolve_document_ids" of "DocumentSelectionMixin" has incompatible type "User | AnonymousUser"; expected "User" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument "user" to "has_document_operation_permissions" has incompatible type "User | AnonymousUser"; expected "User" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument "user" to "has_document_operation_permissions" has incompatible type "User | AnonymousUser"; expected "User" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 1 to "TaskSummarySerializer" has incompatible type "QuerySet[PaperlessTask@AnnotatedWith[TypedDict({'total_count': int, 'pending_count': int, 'success_count': int, 'failure_count': int, 'avg_duration_seconds': Any, 'avg_wait_time_seconds': Any, 'last_run': Any, 'last_success': Any, 'last_failure': Any})], TypedDict({'task_type': str, 'total_count': Any, 'pending_count': Any, 'success_count': Any, 'failure_count': Any, 'avg_duration_seconds': Any, 'avg_wait_time_seconds': Any, 'last_run': Any, 'last_success': Any, 'last_failure': Any})]"; expected "dict[str, Any] | None" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 1 to "paginate_queryset" of "GenericAPIView" has incompatible type "TantivyRelevanceList"; expected "QuerySet[Any, _MT_co] | Sequence[_MT_co]" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 1 to "permitted_document_ids" has incompatible type "User | AnonymousUser"; expected "User | None" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 1 to "permitted_object_ids" has incompatible type "User | AnonymousUser"; expected "User | None" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 1 to "permitted_object_ids" has incompatible type "User | AnonymousUser"; expected "User | None" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 2 to "match_correspondents" has incompatible type "DocumentClassifier | None"; expected "DocumentClassifier" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 2 to "match_document_types" has incompatible type "DocumentClassifier | None"; expected "DocumentClassifier" [arg-type]
|
|
|
|
|
src/documents/views.py:0: error: Argument 2 to "match_storage_paths" has incompatible type "DocumentClassifier | None"; expected "DocumentClassifier" [arg-type]
|
|
|
|
@@ -1635,10 +1570,6 @@ src/documents/views.py:0: error: Function is missing a return type annotation [
|
|
|
|
|
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]
|
|
|
|
@@ -1712,6 +1643,7 @@ src/documents/views.py:0: error: Function is missing a type annotation for one o
|
|
|
|
|
src/documents/views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/views.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "Any | None", variable has type "dict[Any, Any]") [assignment]
|
|
|
|
|
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "ClassificationSuggestions", variable has type "dict[Any, Any]") [assignment]
|
|
|
|
|
src/documents/views.py:0: error: Incompatible types in assignment (expression has type "QuerySet[Document, Document]", variable has type "list[Any]") [assignment]
|
|
|
|
@@ -1738,8 +1670,9 @@ src/documents/views.py:0: error: Item "None" of "Any | None" has no attribute "g
|
|
|
|
|
src/documents/views.py:0: error: Item "None" of "ApplicationConfiguration | None" has no attribute "app_logo" [union-attr]
|
|
|
|
|
src/documents/views.py:0: error: Item "None" of "BasePagination | None" has no attribute "get_page_size" [union-attr]
|
|
|
|
|
src/documents/views.py:0: error: Item "None" of "BasePagination | None" has no attribute "page_size" [union-attr]
|
|
|
|
|
src/documents/views.py:0: error: Missing positional argument "request" in call to "email_documents" [call-arg]
|
|
|
|
|
src/documents/views.py:0: error: Missing type arguments for generic type "GenericViewSet" [type-arg]
|
|
|
|
|
src/documents/views.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/views.py:0: error: Missing type arguments for generic type "list" [type-arg]
|
|
|
|
|
src/documents/views.py:0: error: Missing type arguments for generic type "list" [type-arg]
|
|
|
|
|
src/documents/views.py:0: error: Missing type arguments for generic type "list" [type-arg]
|
|
|
|
|
src/documents/views.py:0: error: Missing type arguments for generic type "list" [type-arg]
|
|
|
|
@@ -1754,18 +1687,17 @@ src/documents/views.py:0: error: No overload variant of "prefetch_related" of "Q
|
|
|
|
|
src/documents/views.py:0: error: Skipping analyzing "auditlog.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/views.py:0: error: Skipping analyzing "langdetect": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/documents/views.py:0: error: Unsupported operand types for + ("None" and "int") [operator]
|
|
|
|
|
src/documents/views.py:0: error: Value of type "Iterable[Correspondent]" is not indexable [index]
|
|
|
|
|
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
|
|
|
|
|
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
|
|
|
|
|
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
|
|
|
|
|
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
|
|
|
|
|
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
|
|
|
|
|
src/documents/views.py:0: error: Value of type "Iterable[Any]" is not indexable [index]
|
|
|
|
|
src/documents/views.py:0: error: Value of type "Iterable[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[DocumentType]" 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[StoragePath]" is not indexable [index]
|
|
|
|
|
src/documents/views.py:0: error: Value of type "Iterable[Tag]" is not indexable [index]
|
|
|
|
|
src/documents/views.py:0: error: Value of type "Iterable[User]" is not indexable [index]
|
|
|
|
|
src/documents/views.py:0: error: Value of type "Iterable[Workflow]" is not indexable [index]
|
|
|
|
|
src/documents/workflows/actions.py:0: error: Argument 1 to "get_value_field_name" of "CustomFieldInstance" has incompatible type "str"; expected "FieldDataType" [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 parameters [no-untyped-def]
|
|
|
|
@@ -1785,8 +1717,6 @@ src/documents/workflows/actions.py:0: error: Item "ConsumableDocument" of "Docum
|
|
|
|
|
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 "DocumentMetadataOverrides | None" has no attribute "custom_fields" [union-attr]
|
|
|
|
|
src/documents/workflows/actions.py:0: error: Item "None" of "DocumentMetadataOverrides | None" has no attribute "custom_fields" [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]
|
|
|
|
@@ -1808,7 +1738,6 @@ src/documents/workflows/actions.py:0: error: Item "None" of "WorkflowActionWebho
|
|
|
|
|
src/documents/workflows/actions.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/workflows/actions.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/workflows/actions.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/documents/workflows/actions.py:0: error: Value of type "dict[Any, Any] | Any | None" is not indexable [index]
|
|
|
|
|
src/documents/workflows/ai.py:0: error: "type[ObjT]" has no attribute "objects" [attr-defined]
|
|
|
|
|
src/documents/workflows/ai.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/workflows/mutations.py:0: error: "WorkflowAction" has no attribute "has_assign_change_groups"; maybe "assign_change_groups"? [attr-defined]
|
|
|
|
@@ -1841,6 +1770,7 @@ src/documents/workflows/mutations.py:0: error: Function is missing a return type
|
|
|
|
|
src/documents/workflows/mutations.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/documents/workflows/mutations.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
|
|
|
|
|
src/documents/workflows/mutations.py:0: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
|
|
|
|
|
src/documents/workflows/mutations.py:0: error: Need type annotation for "permissions" [var-annotated]
|
|
|
|
|
src/documents/workflows/utils.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/documents/workflows/webhooks.py:0: error: Argument 1 to "post" of "Client" has incompatible type "**dict[str, str | dict[Any, Any] | None]"; expected "Cookies | CookieJar | dict[str, str] | list[tuple[str, str]] | None" [arg-type]
|
|
|
|
|
src/documents/workflows/webhooks.py:0: error: Argument 1 to "post" of "Client" has incompatible type "**dict[str, str | dict[Any, Any] | None]"; expected "Headers | Mapping[str, str] | Mapping[bytes, bytes] | Sequence[tuple[str, str]] | Sequence[tuple[bytes, bytes]] | None" [arg-type]
|
|
|
|
@@ -1863,12 +1793,10 @@ src/paperless/adapter.py:0: error: Function is missing a type annotation [no-un
|
|
|
|
|
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: Missing type arguments for generic type "tuple" [type-arg]
|
|
|
|
|
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.mfa.stages": 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]
|
|
|
|
@@ -1924,17 +1852,12 @@ src/paperless/consumers.py:0: error: Argument 1 to "_can_view" of "StatusConsume
|
|
|
|
|
src/paperless/consumers.py:0: error: Item "AbstractBaseUser" of "AbstractBaseUser | AnonymousUser" has no attribute "groups" [union-attr]
|
|
|
|
|
src/paperless/consumers.py:0: error: Item "AbstractBaseUser" of "AbstractBaseUser | AnonymousUser" has no attribute "id" [union-attr]
|
|
|
|
|
src/paperless/consumers.py:0: error: Item "AbstractBaseUser" of "AbstractBaseUser | AnonymousUser" has no attribute "is_superuser" [union-attr]
|
|
|
|
|
src/paperless/consumers.py:0: error: 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: Missing type arguments for generic type "Task" [type-arg]
|
|
|
|
|
src/paperless/consumers.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/paperless/consumers.py:0: error: Unsupported operand types for in ("Any | None" and "list[int]") [operator]
|
|
|
|
|
src/paperless/db_cache.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/db_cache.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/db_cache.py:0: error: Skipping analyzing "cachalot.api": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/paperless/db_cache.py:0: error: Skipping analyzing "cachalot.utils": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/paperless/fields.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/fields.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless/middleware.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/middleware.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/middleware.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
@@ -1956,7 +1879,6 @@ src/paperless/parsers/tesseract.py:0: error: Missing type arguments for generic
|
|
|
|
|
src/paperless/parsers/tesseract.py:0: error: Skipping analyzing "img2pdf": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/paperless/serialisers.py:0: error: "PasswordValidationMixin" has no attribute "instance" [attr-defined]
|
|
|
|
|
src/paperless/serialisers.py:0: error: "UploadedFile[Any]" has no attribute "field_name" [attr-defined]
|
|
|
|
|
src/paperless/serialisers.py:0: error: Argument 1 to "is_obfuscated_password" has incompatible type "str | None"; expected "str" [arg-type]
|
|
|
|
|
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]
|
|
|
|
@@ -1966,6 +1888,7 @@ src/paperless/serialisers.py:0: error: Function is missing a type annotation [n
|
|
|
|
|
src/paperless/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless/serialisers.py:0: error: Item "None" of "str | None" has no attribute "replace" [union-attr]
|
|
|
|
|
src/paperless/serialisers.py:0: error: Missing type arguments for generic type "UploadedFile" [type-arg]
|
|
|
|
|
src/paperless/serialisers.py:0: error: Missing type arguments for generic type "UploadedFile" [type-arg]
|
|
|
|
|
src/paperless/serialisers.py:0: error: Need type annotation for "auth_token" [var-annotated]
|
|
|
|
@@ -1976,6 +1899,7 @@ src/paperless/serialisers.py:0: error: Skipping analyzing "allauth.mfa.totp.inte
|
|
|
|
|
src/paperless/serialisers.py:0: error: Skipping analyzing "allauth.socialaccount.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/paperless/settings/__init__.py:0: error: "Collection[str]" has no attribute "append" [attr-defined]
|
|
|
|
|
src/paperless/settings/__init__.py:0: error: "Collection[str]" has no attribute "insert" [attr-defined]
|
|
|
|
|
src/paperless/settings/__init__.py:0: error: Argument 1 to "append" of "list" has incompatible type "str | None"; expected "str" [arg-type]
|
|
|
|
|
src/paperless/settings/__init__.py:0: error: Argument 1 to "parse_ignore_dates" has incompatible type "str | None"; expected "str" [arg-type]
|
|
|
|
|
src/paperless/settings/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/settings/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
@@ -1983,7 +1907,6 @@ src/paperless/settings/__init__.py:0: error: Function is missing a return type a
|
|
|
|
|
src/paperless/settings/__init__.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless/settings/__init__.py:0: error: Incompatible types in assignment (expression has type "bool", variable has type "str") [assignment]
|
|
|
|
|
src/paperless/settings/__init__.py:0: error: Incompatible types in assignment (expression has type "dict[str, object]", target has type "str") [assignment]
|
|
|
|
|
src/paperless/settings/__init__.py:0: error: Incompatible types in assignment (expression has type "int", target has type "Collection[str]") [assignment]
|
|
|
|
|
src/paperless/settings/custom.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/paperless/settings/custom.py:0: error: No overload variant of "getenv" matches argument types "Collection[str]", "Collection[str]" [call-overload]
|
|
|
|
|
src/paperless/settings/custom.py:0: error: Unpacked dict entry 0 has incompatible type "Collection[str]"; expected "SupportsKeysAndGetItem[str, dict[str, str]]" [dict-item]
|
|
|
|
@@ -2003,6 +1926,8 @@ src/paperless/tests/parsers/test_mail_parser.py:0: error: Item "None" of "Reques
|
|
|
|
|
src/paperless/tests/parsers/test_mail_parser.py:0: error: Item "None" of "Request | None" has no attribute "url" [union-attr]
|
|
|
|
|
src/paperless/tests/parsers/test_mail_parser_live.py:0: error: Argument 1 to "extract_text" has incompatible type "Path | None"; expected "Path" [arg-type]
|
|
|
|
|
src/paperless/tests/parsers/test_mail_parser_live.py:0: error: List item 0 has incompatible type "str | None"; expected "str | bytes | PathLike[str] | PathLike[bytes]" [list-item]
|
|
|
|
|
src/paperless/tests/parsers/test_parse_modes.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/parsers/test_parse_modes.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/parsers/test_parse_modes.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/parsers/test_parse_modes.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/parsers/test_parse_modes.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "ModeChoices") [assignment]
|
|
|
|
@@ -2063,21 +1988,14 @@ src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is m
|
|
|
|
|
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless/tests/settings/test_environment_parsers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless/tests/settings/test_remote_user.py:0: error: Unsupported target for indexed assignment ("Collection[str]") [index]
|
|
|
|
|
src/paperless/tests/test_adapter.py:0: error: "BaseDatabaseWrapper" has no attribute "is_in_memory_db" [attr-defined]
|
|
|
|
|
src/paperless/tests/settings/test_settings.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/settings/test_settings.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_adapter.py:0: error: Cannot assign to a method [method-assign]
|
|
|
|
|
src/paperless/tests/test_adapter.py:0: error: Cannot assign to a method [method-assign]
|
|
|
|
|
src/paperless/tests/test_adapter.py:0: error: Cannot assign to a method [method-assign]
|
|
|
|
|
src/paperless/tests/test_adapter.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_adapter.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_adapter.py:0: error: Incompatible types in assignment (expression has type "dict[Never, Never]", variable has type "SessionBase") [assignment]
|
|
|
|
|
src/paperless/tests/test_adapter.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/paperless/tests/test_adapter.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
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.account.models": 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.mfa.totp.internal.auth": 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_adapter.py:0: error: Skipping analyzing "allauth.socialaccount.models": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/paperless/tests/test_admin_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_admin_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_admin_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
@@ -2088,10 +2006,6 @@ src/paperless/tests/test_api_auth.py:0: error: Function is missing a return type
|
|
|
|
|
src/paperless/tests/test_api_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_api_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_api_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_api_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_api_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_api_auth.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_api_auth.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_auth_middleware.py:0: error: Argument 1 to "AutoLoginMiddleware" has incompatible type "Callable[[Any], None]"; expected "_AnyGetResponseCallable" [arg-type]
|
|
|
|
|
src/paperless/tests/test_auth_middleware.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_checks.py:0: error: Generator has incompatible item type "str | None"; expected "str" [misc]
|
|
|
|
@@ -2101,7 +2015,6 @@ src/paperless/tests/test_checks.py:0: error: Unsupported right operand type for
|
|
|
|
|
src/paperless/tests/test_checks.py:0: error: Unsupported right operand type for in ("str | None") [operator]
|
|
|
|
|
src/paperless/tests/test_checks.py:0: error: Unsupported right operand type for in ("str | None") [operator]
|
|
|
|
|
src/paperless/tests/test_checks.py:0: error: Unsupported right operand type for in ("str | None") [operator]
|
|
|
|
|
src/paperless/tests/test_checks.py:0: error: Unsupported right operand type for in ("str | None") [operator]
|
|
|
|
|
src/paperless/tests/test_compression_middleware.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_logging.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/tests/test_logging.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
@@ -2181,7 +2094,7 @@ src/paperless/validators.py:0: error: Argument 1 to "join" of "str" has incompat
|
|
|
|
|
src/paperless/validators.py:0: error: Incompatible types in assignment (expression has type "str | bytes", variable has type "str") [assignment]
|
|
|
|
|
src/paperless/validators.py:0: error: Missing type arguments for generic type "UploadedFile" [type-arg]
|
|
|
|
|
src/paperless/validators.py:0: error: Missing type arguments for generic type "UploadedFile" [type-arg]
|
|
|
|
|
src/paperless/views.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc" [arg-type]
|
|
|
|
|
src/paperless/views.py:0: error: Argument 1 to "int" has incompatible type "Any | Collection[str]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
|
|
|
|
|
src/paperless/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/views.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless/views.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
@@ -2231,20 +2144,16 @@ src/paperless_ai/ai_classifier.py:0: error: Argument 1 to "parse_ai_response" ha
|
|
|
|
|
src/paperless_ai/ai_classifier.py:0: error: Incompatible types in assignment (expression has type "Any | None", variable has type "str") [assignment]
|
|
|
|
|
src/paperless_ai/ai_classifier.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/paperless_ai/ai_classifier.py:0: error: Missing type arguments for generic type "dict" [type-arg]
|
|
|
|
|
src/paperless_ai/ai_classifier.py:0: error: TypedDict key must be a string literal; expected one of ("title", "tags", "correspondents", "document_types", "storage_paths", ...) [literal-required]
|
|
|
|
|
src/paperless_ai/ai_classifier.py:0: error: TypedDict key must be a string literal; expected one of ("title", "tags", "correspondents", "document_types", "storage_paths", ...) [literal-required]
|
|
|
|
|
src/paperless_ai/ai_classifier.py:0: error: TypedDict key must be a string literal; expected one of ("title", "tags", "correspondents", "document_types", "storage_paths", ...) [literal-required]
|
|
|
|
|
src/paperless_ai/ai_classifier.py:0: error: TypedDict key must be a string literal; expected one of ("correspondents", "dates", "document_types", "storage_paths", "tags", ...) [literal-required]
|
|
|
|
|
src/paperless_ai/ai_classifier.py:0: error: TypedDict key must be a string literal; expected one of ("correspondents", "dates", "document_types", "storage_paths", "tags", ...) [literal-required]
|
|
|
|
|
src/paperless_ai/ai_classifier.py:0: error: TypedDict key must be a string literal; expected one of ("correspondents", "dates", "document_types", "storage_paths", "tags", ...) [literal-required]
|
|
|
|
|
src/paperless_ai/base_model.py:0: error: Invalid index type "str | None" for "dict[str, FieldInfo]"; expected type "str" [index]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Dict entry 1 has incompatible type "str": "str | Any | None"; expected "str": "int | str" [dict-item]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Incompatible return value type (got "tuple[str | None, Any | AsyncGenerator[str, None], Any | Generator[str, None, None] | AsyncGenerator[str, None]]", expected "tuple[str | None, AsyncIterator[str], AsyncIterator[str]]") [return-value]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Item "Response" of "Response | StreamingResponse | AsyncStreamingResponse | PydanticResponse" has no attribute "async_response_gen" [union-attr]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Item "AsyncGenerator[str, None]" of "Any | Generator[str, None, None] | AsyncGenerator[str, None]" has no attribute "__iter__" (not iterable) [union-attr]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Item "Response" of "Response | StreamingResponse | AsyncStreamingResponse | PydanticResponse" has no attribute "response_gen" [union-attr]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Item "StreamingResponse" of "Response | StreamingResponse | AsyncStreamingResponse | PydanticResponse" has no attribute "async_response_gen" [union-attr]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Missing type arguments for generic type "list" [type-arg]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Value of type variable "_SupportsAcloseT" of "aclosing" cannot be "AsyncIterator[str]" [type-var]
|
|
|
|
|
src/paperless_ai/chat.py:0: error: Value of type variable "_SupportsAcloseT" of "aclosing" cannot be "AsyncIterator[str]" [type-var]
|
|
|
|
|
src/paperless_ai/client.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
|
|
|
|
|
src/paperless_ai/client.py:0: error: Skipping analyzing "llama_index.llms.ollama": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/paperless_ai/client.py:0: error: Skipping analyzing "llama_index.llms.openai_like": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
@@ -2267,7 +2176,6 @@ src/paperless_ai/indexing.py:0: error: Function is missing a type annotation [n
|
|
|
|
|
src/paperless_ai/indexing.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless_ai/indexing.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless_ai/indexing.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless_ai/indexing.py:0: error: Incompatible types in assignment (expression has type "Document | None", variable has type "Document") [assignment]
|
|
|
|
|
src/paperless_ai/matching.py:0: error: "type[ModelT]" has no attribute "objects" [attr-defined]
|
|
|
|
|
src/paperless_ai/matching.py:0: error: "type[ModelT]" has no attribute "objects" [attr-defined]
|
|
|
|
|
src/paperless_ai/matching.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
@@ -2297,8 +2205,6 @@ src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a typ
|
|
|
|
|
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_ai_classifier.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_ai_classifier.py:0: error: Need type annotation for "empty_candidates" [var-annotated]
|
|
|
|
|
src/paperless_ai/tests/test_ai_indexing.py:0: error: "def get_embedding_model(config: AIConfig, *, refresh: bool = ...) -> BaseEmbedding" has no attribute "assert_called_once_with" [attr-defined]
|
|
|
|
|
src/paperless_ai/tests/test_ai_indexing.py:0: error: "def get_embedding_model(config: AIConfig, *, refresh: bool = ...) -> BaseEmbedding" has no attribute "call_args" [attr-defined]
|
|
|
|
|
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
@@ -2314,7 +2220,6 @@ src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return
|
|
|
|
|
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_base_model.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_chat.py:0: error: "append" of "list" does not return a value (it only ever returns None) [func-returns-value]
|
|
|
|
|
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
@@ -2327,9 +2232,6 @@ src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotat
|
|
|
|
|
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_chat.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_chat_cancellation.py:0: error: "AsyncIterator[str]" has no attribute "aclose" [attr-defined]
|
|
|
|
|
src/paperless_ai/tests/test_chat_cancellation.py:0: error: Argument 4 to "_PreparedChat" has incompatible type "list[dict[str, object]]"; expected "list[dict[str, int | str]]" [arg-type]
|
|
|
|
|
src/paperless_ai/tests/test_chat_chunk_merging.py:0: error: Return type "Iterator[CompletionResponse]" of "stream_complete" incompatible with return type "Generator[CompletionResponse, None, None]" in supertype "llama_index.core.base.llms.base.BaseLLM" [override]
|
|
|
|
|
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]
|
|
|
|
@@ -2363,8 +2265,6 @@ src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type an
|
|
|
|
|
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_embedding.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_matching.py:0: error: Argument 1 to "match_tags_by_name" has incompatible type "list[str | None]"; expected "list[str]" [arg-type]
|
|
|
|
|
src/paperless_ai/tests/test_matching.py:0: error: Missing type arguments for generic type "DjangoModelFactory" [type-arg]
|
|
|
|
|
src/paperless_ai/tests/test_matching.py:0: error: Missing type arguments for generic type "list" [type-arg]
|
|
|
|
@@ -2414,9 +2314,9 @@ src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type
|
|
|
|
|
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_vector_store.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless_ai/tests/test_vector_store.py:0: error: Skipping analyzing "sqlite_vec": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/paperless_ai/vector_store.py:0: error: Argument 1 to "int" has incompatible type "int | float | str | list[str] | list[float] | list[int] | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc" [arg-type]
|
|
|
|
|
src/paperless_ai/vector_store.py:0: error: Argument 1 to "int" has incompatible type "int | float | str | list[str] | list[float] | list[int] | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc" [arg-type]
|
|
|
|
|
src/paperless_ai/vector_store.py:0: error: Argument 1 to "int" has incompatible type "str | Any | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc" [arg-type]
|
|
|
|
|
src/paperless_ai/vector_store.py:0: error: Argument 1 to "int" has incompatible type "int | float | str | list[str] | list[float] | list[int] | None"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
|
|
|
|
|
src/paperless_ai/vector_store.py:0: error: Argument 1 to "int" has incompatible type "int | float | str | list[str] | list[float] | list[int] | None"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
|
|
|
|
|
src/paperless_ai/vector_store.py:0: error: Argument 1 to "int" has incompatible type "str | Any | None"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
|
|
|
|
|
src/paperless_ai/vector_store.py:0: error: Skipping analyzing "sqlite_vec": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
|
|
|
|
src/paperless_ai/vector_store.py:0: error: Unexpected keyword argument "flat_metadata" for "__init__" of "BasePydanticVectorStore" [call-arg]
|
|
|
|
|
src/paperless_mail/admin.py:0: error: Missing type arguments for generic type "ModelAdmin" [type-arg]
|
|
|
|
@@ -2481,6 +2381,8 @@ src/paperless_mail/migrations/0002_optimize_integer_field_sizes.py:0: error: Fun
|
|
|
|
|
src/paperless_mail/migrations/0002_optimize_integer_field_sizes.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_mail/models.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_mail/models.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_mail/oauth.py:0: error: Argument "refresh_token" to "refresh_token" of "BaseOAuth2" has incompatible type "str | None"; expected "str" [arg-type]
|
|
|
|
|
src/paperless_mail/oauth.py:0: error: Argument "refresh_token" to "refresh_token" of "BaseOAuth2" has incompatible type "str | None"; expected "str" [arg-type]
|
|
|
|
|
src/paperless_mail/oauth.py:0: error: Argument 1 to "GoogleOAuth2" has incompatible type "str | None"; expected "str" [arg-type]
|
|
|
|
|
src/paperless_mail/oauth.py:0: error: Argument 1 to "MicrosoftGraphOAuth2" has incompatible type "str | None"; expected "str" [arg-type]
|
|
|
|
|
src/paperless_mail/oauth.py:0: error: Argument 2 to "GoogleOAuth2" has incompatible type "str | None"; expected "str" [arg-type]
|
|
|
|
@@ -2498,6 +2400,8 @@ src/paperless_mail/serialisers.py:0: error: Function is missing a type annotatio
|
|
|
|
|
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
|
|
|
src/paperless_mail/serialisers.py:0: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
|
|
|
|
|
src/paperless_mail/tasks.py:0: error: Missing type arguments for generic type "Task" [type-arg]
|
|
|
|
|
src/paperless_mail/tests/helpers.py:0: error: "MailMessage" has no attribute "flagged" [attr-defined]
|
|
|
|
|
src/paperless_mail/tests/helpers.py:0: error: "MailMessage" has no attribute "seen" [attr-defined]
|
|
|
|
|