From c08b025423bac6a0631814194f9ed5ca14eb4d1f Mon Sep 17 00:00:00 2001 From: Trenton Holmes <797416+stumpylog@users.noreply.github.com> Date: Sat, 24 Jan 2026 19:53:00 -0800 Subject: [PATCH] Set a stricter set of checks for pytest, and try changing how we distribute tests to workers --- pyproject.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 80e146705..a876d326a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -265,6 +265,11 @@ skip = "src-ui/src/locale/*,src-ui/pnpm-lock.yaml,src-ui/e2e/*,src/paperless_mai minversion = "9.0" pythonpath = [ "src" ] +strict_config = true +strict_markers = true +strict_parametrization_ids = true +strict_xfail = true + testpaths = [ "src/documents/tests/", "src/paperless/tests/", @@ -283,8 +288,9 @@ addopts = [ "--cov-report=xml", "--numprocesses=auto", "--maxprocesses=16", - "--quiet", + "--dist=loadscope", "--durations=50", + "--durations-min=0.5", "--junitxml=junit.xml", "-o", "junit_family=legacy",