Skip to content

Commit

Permalink
pylint: disable too-many-positional-arguments lint
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Dec 23, 2024
1 parent 2950dd3 commit 8de6915
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/justbases/_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ def __init__(self, config, base):
# pylint: disable=unused-argument
self.CONFIG = config

def xform(self, left, right, repeating, base, sign):
def xform(
self, left, right, repeating, base, sign
): # pylint: disable=too-many-positional-arguments
"""
Return prefixes for tuple.
Expand Down
2 changes: 1 addition & 1 deletion src/justbases/_division.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def _division(divisor, dividend, remainder, base):
return (quotient, remainder)

@classmethod
def division(
def division( # pylint: disable=too-many-positional-arguments
cls, divisor, dividend, base, precision=None, method=RoundingMethods.ROUND_DOWN
):
"""
Expand Down
4 changes: 2 additions & 2 deletions src/justbases/_rationals.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class Radix:
)

@classmethod
def _validate( # pylint: disable=too-many-arguments
def _validate( # pylint: disable=too-many-arguments, too-many-positional-arguments
cls, sign, integer_part, non_repeating_part, repeating_part, base
):
"""
Expand Down Expand Up @@ -309,7 +309,7 @@ def _canonicalize_fraction(cls, non_repeating, repeating):
)
return (non_repeating[: (end - index)], repeating[-index:] + repeating[:-index])

def __init__( # pylint: disable=too-many-arguments
def __init__( # pylint: disable=too-many-arguments, disable=too-many-positional-arguments
self,
sign,
integer_part,
Expand Down

0 comments on commit 8de6915

Please sign in to comment.