diff options
| author | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-11-20 20:19:29 +0100 |
|---|---|---|
| committer | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-12-28 14:09:04 +0100 |
| commit | 1713e720352fc6797d07dd7b61e9bafaed7b8e20 (patch) | |
| tree | 878d147591d24be29241e4d0d2dc62c5a389667f | |
| parent | 32e9b27a372fa2b3da372e4b4dbf66202f09f215 (diff) | |
| download | python-setuptools-git-1713e720352fc6797d07dd7b61e9bafaed7b8e20.tar.gz | |
Apply refurb suggestions
[FURB109]: Replace `in [x, y, z]` with `in (x, y, z)`
| -rw-r--r-- | distutils/dist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils/dist.py b/distutils/dist.py index d7458a05..970abda0 100644 --- a/distutils/dist.py +++ b/distutils/dist.py @@ -700,7 +700,7 @@ Common commands: (see '--help-commands' for more) if val and is_display_option.get(opt): opt = translate_longopt(opt) value = getattr(self.metadata, "get_" + opt)() - if opt in ['keywords', 'platforms']: + if opt in ('keywords', 'platforms'): print(','.join(value)) elif opt in ('classifiers', 'provides', 'requires', 'obsoletes'): print('\n'.join(value)) |
