From 009fef2ab32dc7a00ec44efc162acdc4dec60bd6 Mon Sep 17 00:00:00 2001 From: Nicco Kunzmann Date: Tue, 14 Mar 2023 12:51:13 +0000 Subject: [PATCH 1/3] Guide transition from --dev --- src/poetry/console/commands/remove.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/poetry/console/commands/remove.py b/src/poetry/console/commands/remove.py index 88ea83880af..0eba3907b38 100644 --- a/src/poetry/console/commands/remove.py +++ b/src/poetry/console/commands/remove.py @@ -24,6 +24,7 @@ class RemoveCommand(InstallerCommand): ( "Remove a package from the development dependencies." " (Deprecated)" + " Use --group=dev instead." ), ), option( From 3a84217a3327ead4cb1a7ab730b58bd7e51bcf93 Mon Sep 17 00:00:00 2001 From: Nicco Kunzmann Date: Tue, 14 Mar 2023 12:54:27 +0000 Subject: [PATCH 2/3] Guide transition from --dev --- src/poetry/console/commands/add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poetry/console/commands/add.py b/src/poetry/console/commands/add.py index 05bdc21bf77..ee9a9df3784 100644 --- a/src/poetry/console/commands/add.py +++ b/src/poetry/console/commands/add.py @@ -30,7 +30,7 @@ class AddCommand(InstallerCommand, InitCommand): option( "dev", "D", - "Add as a development dependency. (Deprecated)", + "Add as a development dependency. (Deprecated) Use --group=dev instead.", ), option("editable", "e", "Add vcs/path dependencies as editable."), option( From ef2a0e003f8693d9592a1dc63da4401bcfd4c73f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 Mar 2023 15:10:11 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/poetry/console/commands/add.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/poetry/console/commands/add.py b/src/poetry/console/commands/add.py index ee9a9df3784..451965cd431 100644 --- a/src/poetry/console/commands/add.py +++ b/src/poetry/console/commands/add.py @@ -30,7 +30,10 @@ class AddCommand(InstallerCommand, InitCommand): option( "dev", "D", - "Add as a development dependency. (Deprecated) Use --group=dev instead.", + ( + "Add as a development dependency. (Deprecated) Use" + " --group=dev instead." + ), ), option("editable", "e", "Add vcs/path dependencies as editable."), option(