Skip to content

Commit 24354f2

Browse files
committed
Relax pylint a bit
1 parent 00c379a commit 24354f2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.pylintrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -342,14 +342,14 @@ exclude-protected=_asdict,_fields,_replace,_source,_make
342342
[DESIGN]
343343

344344
# Maximum number of arguments for function / method
345-
max-args=5
345+
max-args=6
346346

347347
# Argument names that match this expression will be ignored. Default to name
348348
# with leading underscore
349349
ignored-argument-names=_.*
350350

351351
# Maximum number of locals for function / method body
352-
max-locals=15
352+
max-locals=18
353353

354354
# Maximum number of return / yield for function / method body
355355
max-returns=6

aiohttp_graphql/graphqlview.py

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ def __init__(
3939
**execution_options,
4040
):
4141
# pylint: disable=too-many-arguments
42-
# pylint: disable=too-many-locals
4342

4443
self.schema = schema
4544
self.executor = executor

0 commit comments

Comments
 (0)