Skip to content

Commit

Permalink
Update pylint disable for pylint v3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Sep 24, 2024
1 parent 4f71e8d commit c6f21ae
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tcms/kiwi_auth/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def has_delete_permission(self, request, obj=None):
request, getattr(obj, "pk", 0)
) or super().has_delete_permission(request, obj)

# pylint: disable=too-many-arguments
# pylint: disable=too-many-arguments,too-many-positional-arguments
def render_change_form(
self, request, context, add=False, change=False, form_url="", obj=None
):
Expand Down
2 changes: 1 addition & 1 deletion tcms/kiwi_auth/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class PasswordResetForm(
else None
)

def save( # pylint: disable=too-many-arguments
def save( # pylint: disable=too-many-arguments,too-many-positional-arguments
self,
domain_override=None,
subject_template_name="registration/password_reset_subject.txt",
Expand Down
2 changes: 1 addition & 1 deletion tcms/rpc/api/forms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class UpdateModelFormMixin: # pylint: disable=too-few-public-methods
This needs to be the 1st base class!
"""

def __init__( # pylint: disable=too-many-arguments
def __init__( # pylint: disable=too-many-arguments,too-many-positional-arguments
self,
data=None,
files=None,
Expand Down
2 changes: 1 addition & 1 deletion tcms/testplans/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def make_cloned_name(self):
"""Make default name of cloned plan"""
return f"Copy of {self.name}"

def clone( # pylint: disable=too-many-arguments
def clone( # pylint: disable=too-many-arguments,too-many-positional-arguments
self,
name=None,
product=None,
Expand Down
2 changes: 1 addition & 1 deletion tcms/testruns/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _create_single_execution(self, case, assignee, build, sortkey):
start_date=None,
)

def create_execution( # pylint: disable=too-many-arguments
def create_execution( # pylint: disable=too-many-arguments,too-many-positional-arguments
self,
case,
assignee=None,
Expand Down

0 comments on commit c6f21ae

Please sign in to comment.