Skip to content

Commit ede6b4d

Browse files
committed
Review feedback
1 parent f452966 commit ede6b4d

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

src/manage/commands.py

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -519,18 +519,16 @@ def show_usage(cls):
519519
else:
520520
usage_docs = PYMANAGER_USAGE_DOCS
521521

522-
usage_docs.extend(
523-
[
524-
(
525-
f"{EXE_NAME} " + getattr(COMMANDS[cmd], "USAGE_LINE", cmd),
526-
getattr(COMMANDS[cmd], "HELP_LINE", "")
527-
)
528-
for cmd in sorted(COMMANDS)
529-
if cmd[:1].isalpha()
530-
]
531-
)
522+
usage_docs = usage_docs + [
523+
(
524+
f"{EXE_NAME} " + getattr(COMMANDS[cmd], "USAGE_LINE", cmd),
525+
getattr(COMMANDS[cmd], "HELP_LINE", "")
526+
)
527+
for cmd in sorted(COMMANDS)
528+
if cmd[:1].isalpha()
529+
]
532530

533-
usage_docs = [(" " + x.lstrip(), y) for x, y in usage_docs]
531+
usage_docs = [(f" {x.lstrip()}", y) for x, y in usage_docs]
534532

535533
usage_ljust = max(len(logging.strip_colour(i[0])) for i in usage_docs if not i[0].endswith("\n"))
536534
if usage_ljust % 4:
@@ -555,8 +553,8 @@ def show_usage(cls):
555553
LOGGER.print(r)
556554

557555
LOGGER.print()
558-
# TODO: Remove the 3.14 for stable release
559-
LOGGER.print("Find additional information at !B!https://docs.python.org/3.14/using/windows!W!.")
556+
# TODO: Remove the /dev/ for stable release
557+
LOGGER.print("Find additional information at !B!https://docs.python.org/dev/using/windows!W!.")
560558
LOGGER.print()
561559

562560
@classmethod

0 commit comments

Comments
 (0)