Skip to content

Commit

Permalink
diable too-many-positional-arguments for 3.10 and 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
bipinkrish committed Oct 18, 2024
1 parent e69d881 commit f0ecdd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion signwriting/tokenizer/base_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class BaseTokenizer:

# pylint: disable=too-many-arguments,too-many-instance-attributes
# pylint: disable=too-many-arguments, too-many-instance-attributes, too-many-positional-arguments
def __init__(self,
tokens: List[str],
starting_index=None,
Expand Down
4 changes: 2 additions & 2 deletions signwriting/visualizer/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_symbol_size(symbol: str):
return right - left, bottom - top


# pylint: disable=too-many-locals, too-many-arguments
# pylint: disable=too-many-locals, too-many-arguments, too-many-positional-arguments
def signwriting_to_image(fsw: str, antialiasing=True, trust_box=True, embedded_color=False,
line_color: RGBA = (0, 0, 0, 255),
fill_color: RGBA = (255, 255, 255, 255)) -> Image:
Expand Down Expand Up @@ -69,7 +69,7 @@ def signwriting_to_image(fsw: str, antialiasing=True, trust_box=True, embedded_c
return img


# pylint: disable=too-many-locals, too-many-arguments
# pylint: disable=too-many-locals, too-many-arguments, too-many-positional-arguments
def signwritings_to_image(fsw_list: List[str], antialiasing: bool = True, trust_box: bool = True,
embedded_color: bool = False, line_color: Tuple[int, int, int, int] = (0, 0, 0, 255),
fill_color: Tuple[int, int, int, int] = (255, 255, 255, 255),
Expand Down

0 comments on commit f0ecdd5

Please sign in to comment.