From 65f3f9278eb207cb47ad99013f8a9b9f1d24739e Mon Sep 17 00:00:00 2001 From: Joscha Schmiedt <joscha@schmiedt.dev> Date: Mon, 26 Feb 2024 11:54:42 +0100 Subject: [PATCH] MAINT: Add PYTHONPATH to tox.ini for running pytest outside of tox This is useful for running pytest outside of tox, for example in VS Code. --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 8212226e..10f49506 100644 --- a/tox.ini +++ b/tox.ini @@ -17,3 +17,5 @@ max-line-length=100 testpaths = unittests xfail_strict = True addopts = -x -vv --cov=caosdb +pythonpath = src + -- GitLab