diff --git a/.pylintrc b/.pylintrc index d7466ee..1a4690b 100644 --- a/.pylintrc +++ b/.pylintrc @@ -40,4 +40,3 @@ disable=fixme, unnecessary-lambda-assignment, unspecified-encoding, unused-argument, - use-a-generator, diff --git a/src/wuttaweb/grids/base.py b/src/wuttaweb/grids/base.py index 0468a6a..ed626fe 100644 --- a/src/wuttaweb/grids/base.py +++ b/src/wuttaweb/grids/base.py @@ -835,7 +835,7 @@ class Grid: # pylint: disable=too-many-instance-attributes This will normalize the list/dict to desired internal format. """ if tools and isinstance(tools, list): - if not any([isinstance(t, (tuple, list)) for t in tools]): + if not any(isinstance(t, (tuple, list)) for t in tools): tools = [(self.app.make_uuid(), t) for t in tools] self.tools = OrderedDict(tools or []) diff --git a/src/wuttaweb/views/master.py b/src/wuttaweb/views/master.py index d2086ea..b4a5591 100644 --- a/src/wuttaweb/views/master.py +++ b/src/wuttaweb/views/master.py @@ -2807,7 +2807,7 @@ class MasterView(View): [ prop.key for prop in inspector.column_attrs - if all([col.name in keys for col in prop.columns]) + if all(col.name in keys for col in prop.columns) ] )