chore: fix linting ignore comments (#3084)

### Description

There is now a too-many-positional-arguments check
This commit is contained in:
Kyle Robbertze 2024-09-30 16:08:23 +01:00 committed by GitHub
parent 004b784d09
commit 81e8fa90ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ from .role import Role
class UserManager(BaseUserManager):
# pylint: disable=too-many-positional-arguments
def create_user(self, role, username, password, email, first_name, last_name):
user = self.model(
role=role,
@ -20,6 +21,7 @@ class UserManager(BaseUserManager):
user.save(using=self._db)
return user
# pylint: disable=too-many-positional-arguments
def create_superuser(self, username, password, email, first_name, last_name):
return self.create_user(
Role.ADMIN,

View File

@ -29,6 +29,7 @@ class PypoFetch(Thread):
name = "fetch"
daemon = True
# pylint: disable=too-many-positional-arguments
# pylint: disable=too-many-arguments
def __init__(
self,