From 4c609770f1435c6286df68e20cf48d6a65c08986 Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Thu, 6 Oct 2022 15:16:17 -0400 Subject: [PATCH] Update to use new poetry 1.2+ command syntax --- Makefile | 2 +- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5723e72..f72ce7e 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/tox.ini b/tox.ini index 5783192..edc1bd1 100644 --- a/tox.ini +++ b/tox.ini @@ -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