diff --git a/tox.ini b/tox.ini index 723d9382..224e5ef3 100644 --- a/tox.ini +++ b/tox.ini @@ -58,7 +58,7 @@ description = Run type checks deps = .[dev] commands = - mypy --check-untyped-defs + mypy --check-untyped-defs {posargs} [testenv:links] @@ -98,3 +98,13 @@ commands = rm -rf .tox rm -rf .ruff_cache rm -rf .coverage + + +[testenv:lock] +description = Update pylock +skip_install = true +setenv = + PDM_IGNORE_SAVED_PYTHON="1" +deps = pdm[all] +commands = + pdm lock --update-reuse