Skip to content

Commit 1713e72

Browse files
Apply refurb suggestions
[FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
1 parent 32e9b27 commit 1713e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distutils/dist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ def handle_display_options(self, option_order):
700700
if val and is_display_option.get(opt):
701701
opt = translate_longopt(opt)
702702
value = getattr(self.metadata, "get_" + opt)()
703-
if opt in ['keywords', 'platforms']:
703+
if opt in ('keywords', 'platforms'):
704704
print(','.join(value))
705705
elif opt in ('classifiers', 'provides', 'requires', 'obsoletes'):
706706
print('\n'.join(value))

0 commit comments

Comments
 (0)