Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
34ca1657
Unverified
Commit
34ca1657
authored
Sep 19, 2021
by
Mathieu Kniewallner
Committed by
GitHub
Sep 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(commands): add missing whitespace in deprecation notices (#4341)
parent
12adec90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
poetry/console/commands/install.py
+3
-3
poetry/console/commands/show.py
+1
-1
No files found.
poetry/console/commands/install.py
View file @
34ca1657
...
...
@@ -107,13 +107,13 @@ dependencies and not including the current project, run the command with the
only_groups
=
[]
if
self
.
option
(
"no-dev"
):
self
.
line
(
"<warning>The `<fg=yellow;options=bold>--no-dev</>` option is deprecated,"
"<warning>The `<fg=yellow;options=bold>--no-dev</>` option is deprecated,
"
"use the `<fg=yellow;options=bold>--without dev</>` notation instead.</warning>"
)
excluded_groups
.
append
(
"dev"
)
elif
self
.
option
(
"dev-only"
):
self
.
line
(
"<warning>The `<fg=yellow;options=bold>--dev-only</>` option is deprecated,"
"<warning>The `<fg=yellow;options=bold>--dev-only</>` option is deprecated,
"
"use the `<fg=yellow;options=bold>--only dev</>` notation instead.</warning>"
)
only_groups
.
append
(
"dev"
)
...
...
@@ -146,7 +146,7 @@ dependencies and not including the current project, run the command with the
with_synchronization
=
self
.
option
(
"sync"
)
if
self
.
option
(
"remove-untracked"
):
self
.
line
(
"<warning>The `<fg=yellow;options=bold>--remove-untracked</>` option is deprecated,"
"<warning>The `<fg=yellow;options=bold>--remove-untracked</>` option is deprecated,
"
"use the `<fg=yellow;options=bold>--sync</>` option instead.</warning>"
)
...
...
poetry/console/commands/show.py
View file @
34ca1657
...
...
@@ -97,7 +97,7 @@ lists all packages available."""
only_groups
=
[]
if
self
.
option
(
"no-dev"
):
self
.
line
(
"<warning>The `<fg=yellow;options=bold>--no-dev</>` option is deprecated,"
"<warning>The `<fg=yellow;options=bold>--no-dev</>` option is deprecated,
"
"use the `<fg=yellow;options=bold>--without dev</>` notation instead.</warning>"
)
excluded_groups
.
append
(
"dev"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment