From 510ad6378de9ea8ecb0a30a35a06a77c5486af37 Mon Sep 17 00:00:00 2001 From: Peter Demin Date: Wed, 1 Feb 2023 11:03:07 -0500 Subject: [PATCH] Use dict literal (Pylint R1735) --- pipcompilemulti/features/base.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pipcompilemulti/features/base.py b/pipcompilemulti/features/base.py index eecb369..bb1a871 100644 --- a/pipcompilemulti/features/base.py +++ b/pipcompilemulti/features/base.py @@ -29,11 +29,11 @@ def decorate(self, command): def decorator(self): """Create click command decorator with this option.""" args = [self.long_option] - kwargs = dict( - is_flag=self.is_flag, - multiple=self.multiple, - help=self.help_text, - ) + kwargs = { + "is_flag": self.is_flag, + "multiple": self.multiple, + "help": self.help_text, + } if self.short_option: args.append(self.short_option) if self.default: