Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Chore: Ban cross-app imports of documents.tests (#14224)

Trenton H15b73b890cc7
diff --git a/pyproject.toml b/pyproject.toml
index 114013d39..3aba1dcf8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -247,6 +247,10 @@ per-file-ignores."docker/wait-for-redis.py" = [
per-file-ignores."src/documents/models.py" = [
"SIM115",
]
+per-file-ignores."src/documents/tests/*.py" = [
+ "TID251",
+]
+flake8-tidy-imports.banned-api."documents.tests".msg = "Shared test infrastructure lives in src/paperless_testing/."
isort.force-single-line = true
[tool.codespell]