Skip to content

Commit 7347f59

Browse files
authored
Add lock no update task (#133)
1 parent a14e2e3 commit 7347f59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ docs = { cmd = "mkdocs serve", help = "Run the docs on a local automatically rel
8787
export = { cmd = "python -m scripts.export_requirements", help = "Export the requirements from poetry.lock to requirements.txt" }
8888
flake8 = { cmd = "python -m flake8", help = "Lints code with flake8" }
8989
lint = { cmd = "pre-commit run --all-files", help = "Checks all files for CI errors" }
90+
lock = { cmd = 'poetry lock --no-update && task export --docs', help = 'Relock the dependencies without updating them. Also runs the export scripts' }
9091
precommit = { cmd = "pre-commit install --install-hooks", help = "Installs the precommit hook" }
9192
report = { cmd = "coverage report", help = "Show coverage report from previously run tests." }
9293
scripts = { cmd = 'python -m scripts', help = 'Run the scripts wrapper cli.' }

0 commit comments

Comments
 (0)