3
0
Fork 0

fix: fix 'too-many-instance-attributes' for pylint

This commit is contained in:
Lance Edgar 2025-08-31 20:01:31 -05:00
parent 9656df7bc9
commit bb2bde5ecd
5 changed files with 7 additions and 6 deletions

View file

@ -4,3 +4,4 @@
disable=all disable=all
enable= enable=
inconsistent-return-statements, inconsistent-return-statements,
too-many-instance-attributes,

View file

@ -42,7 +42,7 @@ from wuttaweb.util import FieldList, get_form_data, get_model_fields, make_json_
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
class Form: class Form: # pylint: disable=too-many-instance-attributes
""" """
Base class for all forms. Base class for all forms.

View file

@ -56,7 +56,7 @@ Elements of :attr:`~Grid.sort_defaults` will be of this type.
""" """
class Grid: class Grid: # pylint: disable=too-many-instance-attributes
""" """
Base class for all :term:`grids <grid>`. Base class for all :term:`grids <grid>`.
@ -2443,7 +2443,7 @@ class Grid:
} }
class GridAction: class GridAction: # pylint: disable=too-many-instance-attributes
""" """
Represents a "row action" hyperlink within a grid context. Represents a "row action" hyperlink within a grid context.

View file

@ -52,7 +52,7 @@ class VerbNotSupported(Exception):
return f"unknown filter verb not supported: {self.verb}" return f"unknown filter verb not supported: {self.verb}"
class GridFilter: class GridFilter: # pylint: disable=too-many-instance-attributes
""" """
Filter option for a grid. Represents both the "features" as well Filter option for a grid. Represents both the "features" as well
as "state" for the filter. as "state" for the filter.

View file

@ -2,7 +2,7 @@
################################################################################ ################################################################################
# #
# wuttaweb -- Web App for Wutta Framework # wuttaweb -- Web App for Wutta Framework
# Copyright © 2024 Lance Edgar # Copyright © 2024-2025 Lance Edgar
# #
# This file is part of Wutta Framework. # This file is part of Wutta Framework.
# #
@ -45,7 +45,7 @@ def get_progress_session(request, key, **kwargs):
return get_basic_session(request, **kwargs) return get_basic_session(request, **kwargs)
class SessionProgress(ProgressBase): class SessionProgress(ProgressBase): # pylint: disable=too-many-instance-attributes
""" """
Progress indicator which uses Beaker session storage to track Progress indicator which uses Beaker session storage to track
current status. current status.