fix: address pylint warnings
This commit is contained in:
parent
10610d5809
commit
c667f1ab7e
2 changed files with 3 additions and 3 deletions
|
|
@ -221,7 +221,7 @@ class BatchMasterView(MasterView):
|
|||
f.set_node("executed_by", UserRef(self.request))
|
||||
f.set_readonly("executed_by")
|
||||
|
||||
def is_editable(self, batch):
|
||||
def is_editable(self, batch): # pylint: disable=arguments-renamed
|
||||
"""
|
||||
This overrides the parent method
|
||||
:meth:`~wuttaweb.views.master.MasterView.is_editable()` to
|
||||
|
|
@ -456,7 +456,7 @@ class BatchMasterView(MasterView):
|
|||
""" """
|
||||
return row.STATUS.get(value, value)
|
||||
|
||||
def configure_row_form(self, form):
|
||||
def configure_row_form(self, form): # pylint: disable=empty-docstring
|
||||
""" """
|
||||
f = form
|
||||
super().configure_row_form(f)
|
||||
|
|
|
|||
|
|
@ -3239,7 +3239,7 @@ class MasterView(View): # pylint: disable=too-many-public-methods
|
|||
session.flush()
|
||||
return row
|
||||
|
||||
def redirect_after_create_row(self, row, **kwargs):
|
||||
def redirect_after_create_row(self, row):
|
||||
"""
|
||||
Returns a redirect to the "view parent" page relative to the
|
||||
given newly-created row. Subclass may override as needed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue