From 247652534c0d9d4009065d9c477e77ccd2f3cf21 Mon Sep 17 00:00:00 2001 From: Andy Arijs <78924184+Dj-Shortcut@users.noreply.github.com> Date: Sun, 12 Apr 2026 09:37:28 +0200 Subject: [PATCH 1/2] tests: move pytest basetemp out of var --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 60b4d31..11998bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ testpaths = ["faststack/tests"] python_files = ["test_*.py"] # Use importlib mode to avoid test import-path resolution issues -addopts = "--import-mode=importlib -p no:cacheprovider -p no:doctest --basetemp=./var/pytest-temp" +addopts = "--import-mode=importlib -p no:cacheprovider -p no:doctest --basetemp=./tmp/pytest-temp" norecursedirs = ["var", ".venv", "cache", "faststack.egg-info", "__pycache__"] pythonpath = ["."] From ace336bb977c4432d9e7db4374a6b789309a569c Mon Sep 17 00:00:00 2001 From: Andy Arijs <78924184+Dj-Shortcut@users.noreply.github.com> Date: Sun, 12 Apr 2026 09:45:41 +0200 Subject: [PATCH 2/2] tests: ignore pytest tempdir under tmp --- .gitignore | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0b985ab..fdd5bc6 100644 --- a/.gitignore +++ b/.gitignore @@ -52,6 +52,7 @@ dist/ # Runtime / generated data # ---------------------------- var/ +tmp/pytest-temp/ # ---------------------------- # Logs diff --git a/pyproject.toml b/pyproject.toml index 11998bc..03488e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ python_files = ["test_*.py"] # Use importlib mode to avoid test import-path resolution issues addopts = "--import-mode=importlib -p no:cacheprovider -p no:doctest --basetemp=./tmp/pytest-temp" -norecursedirs = ["var", ".venv", "cache", "faststack.egg-info", "__pycache__"] +norecursedirs = ["var", "tmp", ".venv", "cache", "faststack.egg-info", "__pycache__"] pythonpath = ["."]