From 02d4fcfe0b1ede99b30ddf94b10b33fa9a7945a5 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 23 Feb 2026 14:49:08 -0800 Subject: [PATCH] Cleans up config formatting --- .editorconfig | 3 +++ src/paperless/tests/test_checks.py | 10 ---------- zensical.toml | 2 +- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.editorconfig b/.editorconfig index a8b21f510..eecb25efb 100644 --- a/.editorconfig +++ b/.editorconfig @@ -39,3 +39,6 @@ max_line_length = off [Dockerfile*] indent_style = space + +[*.toml] +indent_style = space diff --git a/src/paperless/tests/test_checks.py b/src/paperless/tests/test_checks.py index 50f0ad3f7..683b50dd5 100644 --- a/src/paperless/tests/test_checks.py +++ b/src/paperless/tests/test_checks.py @@ -395,13 +395,3 @@ class TestDeprecatedDbSettings: assert len(result) == 1 assert "PAPERLESS_DBSSLCERT" in result[0].msg - - def test_check_accepts_app_configs_argument( - self, - mocker: MockerFixture, - ) -> None: - """The check function accepts the app_configs argument Django passes.""" - mocker.patch.dict(os.environ, {}, clear=True) - # Django passes app_configs as a list or None depending on invocation - assert check_deprecated_db_settings(None) == [] - assert check_deprecated_db_settings([]) == [] diff --git a/zensical.toml b/zensical.toml index 4e9a5526b..584707aec 100644 --- a/zensical.toml +++ b/zensical.toml @@ -16,7 +16,7 @@ repo_name = "paperless-ngx/paperless-ngx" nav = [ "index.md", "setup.md", - "migration.md", + "migration.md", "usage.md", "configuration.md", "administration.md",