mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 17:17:26 +01:00
Chore: Enable ruff FBT (#8645)
This commit is contained in:
parent
b274665e21
commit
e560fa3be0
27 changed files with 133 additions and 65 deletions
|
|
@ -245,6 +245,7 @@ def reprocess(doc_ids: list[int]) -> Literal["OK"]:
|
|||
def set_permissions(
|
||||
doc_ids: list[int],
|
||||
set_permissions,
|
||||
*,
|
||||
owner=None,
|
||||
merge=False,
|
||||
) -> Literal["OK"]:
|
||||
|
|
@ -309,6 +310,7 @@ def rotate(doc_ids: list[int], degrees: int) -> Literal["OK"]:
|
|||
|
||||
def merge(
|
||||
doc_ids: list[int],
|
||||
*,
|
||||
metadata_document_id: int | None = None,
|
||||
delete_originals: bool = False,
|
||||
user: User | None = None,
|
||||
|
|
@ -387,6 +389,7 @@ def merge(
|
|||
def split(
|
||||
doc_ids: list[int],
|
||||
pages: list[list[int]],
|
||||
*,
|
||||
delete_originals: bool = False,
|
||||
user: User | None = None,
|
||||
) -> Literal["OK"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue