Skip to content

Commit ea55396

Browse files
Apply ruff/refurb rule (FURB105)
FURB105 Unnecessary empty string passed to `print`
1 parent 5598256 commit ea55396

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

distutils/dist.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -647,15 +647,15 @@ def _show_help(
647647
options = self.global_options
648648
parser.set_option_table(options)
649649
parser.print_help(self.common_usage + "\nGlobal options:")
650-
print('')
650+
print()
651651

652652
if display_options:
653653
parser.set_option_table(self.display_options)
654654
parser.print_help(
655655
"Information display options (just display "
656656
+ "information, ignore any commands)"
657657
)
658-
print('')
658+
print()
659659

660660
for command in self.commands:
661661
if isinstance(command, type) and issubclass(command, Command):
@@ -669,7 +669,7 @@ def _show_help(
669669
else:
670670
parser.set_option_table(klass.user_options)
671671
parser.print_help("Options for '%s' command:" % klass.__name__)
672-
print('')
672+
print()
673673

674674
print(gen_usage(self.script_name))
675675

@@ -686,7 +686,7 @@ def handle_display_options(self, option_order):
686686
# we ignore "foo bar").
687687
if self.help_commands:
688688
self.print_commands()
689-
print('')
689+
print()
690690
print(gen_usage(self.script_name))
691691
return 1
692692

0 commit comments

Comments
 (0)