diff --git a/docs/configuration.md b/docs/configuration.md index adf34e2c6..fd800f3cd 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -852,7 +852,7 @@ pages being rotated as well. #### [`PAPERLESS_OCR_OUTPUT_TYPE=`](#PAPERLESS_OCR_OUTPUT_TYPE) {#PAPERLESS_OCR_OUTPUT_TYPE} -: Specify the the type of PDF documents that paperless should produce. +: Specify the type of PDF documents that paperless should produce. - `pdf`: Modify the PDF document as little as possible. - `pdfa`: Convert PDF documents into PDF/A-2b documents, which is diff --git a/src/documents/templating/filters.py b/src/documents/templating/filters.py index e703f3a63..698746c76 100644 --- a/src/documents/templating/filters.py +++ b/src/documents/templating/filters.py @@ -14,7 +14,7 @@ def localize_date(value: date | datetime | str, format: str, locale: str) -> str Args: value (date | datetime | str): The date or datetime to format. If a datetime is provided, it should be timezone-aware (e.g., UTC from a Django DB object). - if str is provided is is parsed as date. + If str is provided it is parsed as date. format (str): The format to use. Can be one of Babel's preset formats ('short', 'medium', 'long', 'full') or a custom pattern string. locale (str): The locale code (e.g., 'en_US', 'fr_FR') to use for diff --git a/src/documents/tests/test_management_importer.py b/src/documents/tests/test_management_importer.py index 004f5ac5f..beb0100f3 100644 --- a/src/documents/tests/test_management_importer.py +++ b/src/documents/tests/test_management_importer.py @@ -313,7 +313,7 @@ class TestCommandImport( WHEN: - An import is attempted THEN: - - Warning about the the version mismatch is output + - Warning about the version mismatch is output """ stdout = StringIO()