Skip to content

Commit

Permalink
make pip compile req file path relative to project (#239)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

---------

Co-authored-by: Maxwell G <[email protected]>
  • Loading branch information
oraNod and gotmax23 authored May 23, 2024
1 parent 3b6f286 commit ca6805f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import nox

requirements_directory = Path("requirements").resolve()
requirements_directory = Path("requirements")

requirements_files = [
requirements_input_file_path.stem
Expand Down

0 comments on commit ca6805f

Please sign in to comment.