From 05f097e9bc3ff2d87a3bf3abb397e2160b107a01 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Sat, 20 Jun 2026 11:31:03 +0100 Subject: [PATCH] fmt --- frontend/src/lib/url-state.test.ts | 11 +---------- pyproject.toml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/frontend/src/lib/url-state.test.ts b/frontend/src/lib/url-state.test.ts index 4808ab0..483e2b5 100644 --- a/frontend/src/lib/url-state.test.ts +++ b/frontend/src/lib/url-state.test.ts @@ -203,16 +203,7 @@ describe('url-state', () => { }); it('round-trips an explicit "all overlays off" via the __none sentinel', () => { - const params = stateToParams( - null, - {}, - [], - new Set(), - 'area', - undefined, - undefined, - new Set() - ); + const params = stateToParams(null, {}, [], new Set(), 'area', undefined, undefined, new Set()); expect(params.getAll('overlay')).toEqual(['__none']); diff --git a/pyproject.toml b/pyproject.toml index 0610211..bc10371 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,18 @@ dev = [ "ruff>=0.8.0", ] +[tool.pytest.ini_options] +filterwarnings = [ + # The pipeline deliberately forks worker pools (fuzzy_join's + # ProcessPoolExecutor, postcode_boundaries' fork context) for copy-on-write + # sharing of large arrays; the fork-after-threads deadlock hazard is + # mitigated by never calling threaded libraries (polars/rayon) in the + # workers. Python 3.12's blanket fork-with-threads DeprecationWarning is a + # false positive here, surfacing only as cross-test noise when a background + # thread happens to be alive at fork time. + "ignore:This process .* is multi-threaded, use of fork:DeprecationWarning", +] + [tool.deptry] # analyses/ and scripts/ use transitive deps; finder/ and video/tts have their own UV projects. extend_exclude = [".*/\\.venv", "analyses", "scripts", "finder", "video/tts"]