Cleans up config formatting

This commit is contained in:
Trenton H
2026-02-23 14:49:08 -08:00
parent 5db46cbc3a
commit 02d4fcfe0b
3 changed files with 4 additions and 11 deletions

View File

@@ -39,3 +39,6 @@ max_line_length = off
[Dockerfile*]
indent_style = space
[*.toml]
indent_style = space

View File

@@ -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([]) == []

View File

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