🤖 format everything with pre-commit by stirlingbot (#4771)

Auto-generated by [create-pull-request][1] with **stirlingbot**

[1]: https://github.com/peter-evans/create-pull-request

Signed-off-by: stirlingbot[bot] <stirlingbot[bot]@users.noreply.github.com>
Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com>
This commit is contained in:
stirlingbot[bot] 2025-10-30 21:08:38 +00:00 committed by GitHub
parent 08e2a27815
commit 85ccf502a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -70,7 +70,6 @@ public class FilterController {
return ResponseEntity.noContent().build();
}
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/filter-contains-image")
@Operation(
summary = "Checks if a PDF contains an image",
@ -187,7 +186,6 @@ public class FilterController {
long fileSize = request.getFileSize();
String comparator = request.getComparator();
long actualFileSize = inputFile.getSize();
boolean valid = compare(actualFileSize, fileSize, comparator);

View File

@ -153,7 +153,8 @@ def compare_files(
# Clean up ignore list to only include keys present in reference
sort_ignore_translation[language]["ignore"] = [
key for key in sort_ignore_translation[language]["ignore"]
key
for key in sort_ignore_translation[language]["ignore"]
if key in ref_keys or key == "language.direction"
]