From ca6805f018a974f0999fb4c6bf249133e2f23c62 Mon Sep 17 00:00:00 2001 From: Don Naro Date: Thu, 23 May 2024 20:33:17 +0100 Subject: [PATCH] make pip compile req file path relative to project (#239) * make pip compile req file path relative to project This change results in the paths of the output and input files relative to the project directory when pip-compiling requirements. * convert path objects to rel paths * less code is more better Co-authored-by: Maxwell G <9920591+gotmax23@users.noreply.github.com> --------- Co-authored-by: Maxwell G <9920591+gotmax23@users.noreply.github.com> --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index dac7a7ae..bbe56d82 100644 --- a/noxfile.py +++ b/noxfile.py @@ -2,7 +2,7 @@ import nox -requirements_directory = Path("requirements").resolve() +requirements_directory = Path("requirements") requirements_files = [ requirements_input_file_path.stem