Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Mar 12, 2024
1 parent 77b8fc3 commit e303e4c
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .tools/boilercv_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ def sync():

NODEPS = Path(".tools/requirements/nodeps.in").as_posix()
DEV = Path(".tools/requirements/dev.in").as_posix()
LOCK = Path(".lock")
LOCK = Path(".lock") / RUNNER
"""Path to the lock directory."""
(LOCK / RUNNER).mkdir(exist_ok=True, parents=True)
LOCK.mkdir(exist_ok=True, parents=True)


@app.command()
Expand Down Expand Up @@ -98,18 +98,14 @@ def lock(highest: bool = False):
)
if lock_result.returncode:
raise RuntimeError(lock_result.stderr)
path = (
LOCK
/ RUNNER
/ Path(
"_".join([
"requirements",
RUNNER,
PYTHON_VERSION.replace(".", ""),
*([] if highest else ["dev"]),
])
).with_suffix(".txt")
)
path = LOCK / Path(
"_".join([
"requirements",
RUNNER,
PYTHON_VERSION.replace(".", ""),
*([] if highest else ["dev"]),
])
).with_suffix(".txt")
print("welp2", path.as_posix()) # noqa: T201
path.write_text(
encoding="utf-8",
Expand Down

0 comments on commit e303e4c

Please sign in to comment.