diff --git a/.pylintrc b/.pylintrc index bd36f4a..c42bc1d 100644 --- a/.pylintrc +++ b/.pylintrc @@ -8,5 +8,4 @@ disable=fixme, duplicate-code, keyword-arg-before-vararg, no-member, - too-many-locals, too-many-nested-blocks, diff --git a/src/wuttaweb/forms/base.py b/src/wuttaweb/forms/base.py index e0d1282..d57fe73 100644 --- a/src/wuttaweb/forms/base.py +++ b/src/wuttaweb/forms/base.py @@ -268,7 +268,7 @@ class Form: # pylint: disable=too-many-instance-attributes,too-many-public-meth Note that in all other cases, this attribute may not exist. """ - def __init__( # pylint: disable=too-many-arguments,too-many-positional-arguments + def __init__( # pylint: disable=too-many-arguments,too-many-positional-arguments,too-many-locals self, request, fields=None, @@ -983,7 +983,7 @@ class Form: # pylint: disable=too-many-instance-attributes,too-many-public-meth output = render(template, context) return HTML.literal(output) - def render_vue_field( # pylint: disable=unused-argument + def render_vue_field( # pylint: disable=unused-argument,too-many-locals self, fieldname, readonly=None, diff --git a/src/wuttaweb/grids/base.py b/src/wuttaweb/grids/base.py index 6565f9c..074aa79 100644 --- a/src/wuttaweb/grids/base.py +++ b/src/wuttaweb/grids/base.py @@ -372,7 +372,7 @@ class Grid: # pylint: disable=too-many-instance-attributes,too-many-public-meth See also :meth:`add_tool()` and :meth:`set_tools()`. """ - def __init__( # pylint: disable=too-many-arguments,too-many-positional-arguments + def __init__( # pylint: disable=too-many-arguments,too-many-positional-arguments,too-many-locals self, request, vue_tagname="wutta-grid", diff --git a/src/wuttaweb/views/common.py b/src/wuttaweb/views/common.py index 5992c55..74c6858 100644 --- a/src/wuttaweb/views/common.py +++ b/src/wuttaweb/views/common.py @@ -135,7 +135,7 @@ class CommonView(View): """ """ self.app.send_email("feedback", context) - def setup(self, session=None): + def setup(self, session=None): # pylint: disable=too-many-locals """ View for first-time app setup, to create admin user.