Skip to content

Commit c3fdf88

Browse files
authored
[GuideLLM Refactor] Add tox command to update lock file (#415)
## Summary <!-- Include a short paragraph of the changes introduced in this PR. If this PR requires additional context or rationale, explain why the changes are necessary. --> Adds a `tox` env for updating the lock file. Also allows args for mypy env. --- - [x] "I certify that all code in this PR is my own, except as noted below." ## Use of AI - [ ] Includes AI-assisted code completion - [ ] Includes code generated by an AI application - [ ] Includes AI-generated tests (NOTE: AI written tests should have a docstring that includes `## WRITTEN BY AI ##`)
2 parents a47c3c3 + b65c6ab commit c3fdf88

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tox.ini

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ description = Run type checks
5858
deps =
5959
.[dev]
6060
commands =
61-
mypy --check-untyped-defs
61+
mypy --check-untyped-defs {posargs}
6262

6363

6464
[testenv:links]
@@ -98,3 +98,13 @@ commands =
9898
rm -rf .tox
9999
rm -rf .ruff_cache
100100
rm -rf .coverage
101+
102+
103+
[testenv:lock]
104+
description = Update pylock
105+
skip_install = true
106+
setenv =
107+
PDM_IGNORE_SAVED_PYTHON="1"
108+
deps = pdm[all]
109+
commands =
110+
pdm lock --update-reuse

0 commit comments

Comments
 (0)