mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 14:31:57 -05:00
Updated dependencies and add py-lock make command
This changeset updates dependencies that have been flagged as out-of date and/or vulnerable. It also adds a py-lock Makefile command for keeping the poetry.lock file in sync without introducing additional issues from transitive dependency updates. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
6
Makefile
6
Makefile
@@ -81,9 +81,13 @@ test: ## Run tests and create coverage report
|
||||
poetry run coverage report -m --fail-under=95
|
||||
poetry run coverage html -d .coverage_cache
|
||||
|
||||
.PHONY: py-lock
|
||||
py-lock: ## Syncs dependencies and updates lock file without performing recursive internal updates
|
||||
poetry lock --no-update
|
||||
|
||||
.PHONY: freeze-requirements
|
||||
freeze-requirements: ## Pin all requirements including sub dependencies into requirements.txt
|
||||
poetry lock
|
||||
poetry lock --no-update
|
||||
poetry requirements
|
||||
|
||||
.PHONY: audit
|
||||
|
||||
Reference in New Issue
Block a user