Skip to content

Commit

Permalink
Add make rule to update dependencies
Browse files Browse the repository at this point in the history
This will call poetry update to update Python
dependencies for the project, like part of

https://github.com/quipucords/quipucords/blob/main/Makefile#L86
  • Loading branch information
ruda committed Jul 15, 2024
1 parent acb8a45 commit dc39321
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ help:
@echo " install-dev to install in editable mode plus the "
@echo " dev packages and install pre-commit hooks"
@echo " lint to run all linters"
@echo " update-deps to update the dependencies"
@echo " pre-commit to run pre-commit against all the files"
@echo " test to run unit tests"
@echo " test-coverage to run unit tests and measure test coverage"
Expand All @@ -36,6 +37,9 @@ install-dev:
poetry install --with dev
poetry run pre-commit install --install-hooks

update-deps:
poetry update --no-cache

pre-commit:
poetry run pre-commit run --all-files

Expand Down

0 comments on commit dc39321

Please sign in to comment.