fix: fix 'no-else-raise' for pylint
This commit is contained in:
parent
4b4d81c4f3
commit
ebd44c55f5
2 changed files with 4 additions and 5 deletions
|
@ -10,7 +10,6 @@ disable=fixme,
|
||||||
keyword-arg-before-vararg,
|
keyword-arg-before-vararg,
|
||||||
missing-function-docstring,
|
missing-function-docstring,
|
||||||
missing-module-docstring,
|
missing-module-docstring,
|
||||||
no-else-raise,
|
|
||||||
no-member,
|
no-member,
|
||||||
not-callable,
|
not-callable,
|
||||||
protected-access,
|
protected-access,
|
||||||
|
|
|
@ -1373,7 +1373,7 @@ class Grid: # pylint: disable=too-many-instance-attributes,too-many-public-meth
|
||||||
if filterinfo and callable(filterinfo):
|
if filterinfo and callable(filterinfo):
|
||||||
# filtr = filterinfo
|
# filtr = filterinfo
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
else:
|
|
||||||
kwargs["key"] = key
|
kwargs["key"] = key
|
||||||
kwargs.setdefault("label", self.get_label(key))
|
kwargs.setdefault("label", self.get_label(key))
|
||||||
filtr = self.make_filter(filterinfo or key, **kwargs)
|
filtr = self.make_filter(filterinfo or key, **kwargs)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue