Update to use new poetry 1.2+ command syntax

This commit is contained in:
Ethan Paul 2022-10-06 15:16:17 -04:00
parent d5650f0562
commit 4c609770f1
Signed by: enpaul
GPG Key ID: DAF443CA3A2FA6FA
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ test: ## Run the project testsuite(s)
poetry run tox --recreate
dev: ## Create the local dev environment
poetry install -E poetry --sync
poetry install --extras poetry --sync
poetry run pre-commit install
publish: test wheel source ## Build and upload to pypi (requires $PYPI_API_KEY be set)

View File

@ -83,7 +83,8 @@ commands =
--format requirements.txt \
--output {envtmpdir}/requirements.txt \
--without-hashes \
--dev
--with dev \
--extras poetry
safety check \
--file {envtmpdir}/requirements.txt \
--json