root: increase limit of max-attributes in pylint

This commit is contained in:
Jens Langhammer 2020-09-19 13:40:23 +02:00
parent 8b4222e7bb
commit 5e6acee2a5
4 changed files with 8 additions and 4 deletions

View File

@ -1,9 +1,16 @@
[MASTER] [MASTER]
disable=arguments-differ,no-self-use,fixme,locally-disabled,too-many-ancestors,too-few-public-methods,import-outside-toplevel,bad-continuation,signature-differs,similarities,cyclic-import disable=arguments-differ,no-self-use,fixme,locally-disabled,too-many-ancestors,too-few-public-methods,import-outside-toplevel,bad-continuation,signature-differs,similarities,cyclic-import
load-plugins=pylint_django,pylint.extensions.bad_builtin load-plugins=pylint_django,pylint.extensions.bad_builtin
extension-pkg-whitelist=lxml extension-pkg-whitelist=lxml
# Allow constants to be shorter than normal (and lowercase, for settings.py)
const-rgx=[a-zA-Z0-9_]{1,40}$ const-rgx=[a-zA-Z0-9_]{1,40}$
ignored-modules=django-otp ignored-modules=django-otp
jobs=12
ignore=migrations ignore=migrations
max-attributes=12
jobs=12

View File

@ -366,7 +366,6 @@ class AuthorizationCode(ExpiringModel, BaseGrantModel):
@dataclass @dataclass
# pylint: disable=too-many-instance-attributes
class IDToken: class IDToken:
"""The primary extension that OpenID Connect makes to OAuth 2.0 to enable End-Users to be """The primary extension that OpenID Connect makes to OAuth 2.0 to enable End-Users to be
Authenticated is the ID Token data structure. The ID Token is a security token that contains Authenticated is the ID Token data structure. The ID Token is a security token that contains

View File

@ -57,7 +57,6 @@ ALLOWED_PROMPT_PARAMS = {PROMPT_NONE, PROMPT_CONSNET}
@dataclass @dataclass
# pylint: disable=too-many-instance-attributes
class OAuthAuthorizationParams: class OAuthAuthorizationParams:
"""Parameteres required to authorize an OAuth Client""" """Parameteres required to authorize an OAuth Client"""

View File

@ -26,7 +26,6 @@ LOGGER = get_logger()
@dataclass @dataclass
# pylint: disable=too-many-instance-attributes
class TokenParams: class TokenParams:
"""Token params""" """Token params"""