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",