fix: fix 'consider-using-get' for pylint
This commit is contained in:
parent
65849ad82d
commit
564ac318bc
2 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ disable=fixme,
|
|||
arguments-renamed,
|
||||
attribute-defined-outside-init,
|
||||
consider-using-generator,
|
||||
consider-using-get,
|
||||
consider-using-set-comprehension,
|
||||
duplicate-code,
|
||||
isinstance-second-argument-not-valid-type,
|
||||
|
|
|
@ -689,7 +689,7 @@ class Grid: # pylint: disable=too-many-instance-attributes,too-many-public-meth
|
|||
"percent": self.render_percent,
|
||||
}
|
||||
|
||||
if renderer in builtins:
|
||||
if renderer in builtins: # pylint: disable=consider-using-get
|
||||
renderer = builtins[renderer]
|
||||
|
||||
if kwargs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue