Skip to content

Commit

Permalink
add requirements directory var
Browse files Browse the repository at this point in the history
  • Loading branch information
oraNod committed Mar 4, 2024
1 parent b828c33 commit 22aa1dd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

import nox

requirements_files = list(
{path.stem for path in Path("requirements").glob("*.in")}
)
requirements_directory = (Path("requirements")).resolve()

requirements_files = [
requirements_input_file_path.stem
for requirements_input_file_path in requirements_directory.glob("*.in")
]


@nox.session(name="pip-compile", python=["3.11"])
Expand Down

0 comments on commit 22aa1dd

Please sign in to comment.