From 6297d6c1d8fa37768c89cfa432c0f0664ad09fa8 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Sun, 1 Aug 2021 18:08:39 +0200 Subject: [PATCH] fix(commands): add missing whitespace in deprecation notices --- poetry/console/commands/install.py | 6 +++--- poetry/console/commands/show.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/poetry/console/commands/install.py b/poetry/console/commands/install.py index 40882394e22..0eca8a9be0c 100644 --- a/poetry/console/commands/install.py +++ b/poetry/console/commands/install.py @@ -107,13 +107,13 @@ def handle(self) -> int: only_groups = [] if self.option("no-dev"): self.line( - "The `--no-dev` option is deprecated," + "The `--no-dev` option is deprecated, " "use the `--without dev` notation instead." ) excluded_groups.append("dev") elif self.option("dev-only"): self.line( - "The `--dev-only` option is deprecated," + "The `--dev-only` option is deprecated, " "use the `--only dev` notation instead." ) only_groups.append("dev") @@ -146,7 +146,7 @@ def handle(self) -> int: with_synchronization = self.option("sync") if self.option("remove-untracked"): self.line( - "The `--remove-untracked` option is deprecated," + "The `--remove-untracked` option is deprecated, " "use the `--sync` option instead." ) diff --git a/poetry/console/commands/show.py b/poetry/console/commands/show.py index 30c240ea90e..7b7a48005a5 100644 --- a/poetry/console/commands/show.py +++ b/poetry/console/commands/show.py @@ -97,7 +97,7 @@ def handle(self) -> Optional[int]: only_groups = [] if self.option("no-dev"): self.line( - "The `--no-dev` option is deprecated," + "The `--no-dev` option is deprecated, " "use the `--without dev` notation instead." ) excluded_groups.append("dev")