Skip to content

Commit

Permalink
Support new pylint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
nhairs committed Nov 2, 2024
1 parent 240d965 commit 19b19bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,9 @@ valid-metaclass-classmethod-first-arg=cls
# Maximum number of arguments for function / method.
max-args=10

# Max number of positional arguments for a function / method
max-positional-arguments=8

# Maximum number of attributes for a class (see R0902).
max-attributes=15

Expand Down
2 changes: 1 addition & 1 deletion src/nserver/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class SOA(RecordBase):
- https://en.wikipedia.org/wiki/SOA_record
"""

def __init__( # pylint: disable=too-many-arguments
def __init__( # pylint: disable=too-many-arguments,too-many-positional-arguments
self,
zone_name: str,
primary_name_server: str,
Expand Down

0 comments on commit 19b19bb

Please sign in to comment.