From f0ecdd5ad5400a6e841cedf14a951b2f7725c570 Mon Sep 17 00:00:00 2001 From: bipinkrish <bipinkrish4@gmail.com> Date: Fri, 18 Oct 2024 10:49:28 +0000 Subject: [PATCH] diable too-many-positional-arguments for 3.10 and 3.12 --- signwriting/tokenizer/base_tokenizer.py | 2 +- signwriting/visualizer/visualize.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/signwriting/tokenizer/base_tokenizer.py b/signwriting/tokenizer/base_tokenizer.py index 90cffba..9619eac 100644 --- a/signwriting/tokenizer/base_tokenizer.py +++ b/signwriting/tokenizer/base_tokenizer.py @@ -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, diff --git a/signwriting/visualizer/visualize.py b/signwriting/visualizer/visualize.py index 5f87704..f15db39 100644 --- a/signwriting/visualizer/visualize.py +++ b/signwriting/visualizer/visualize.py @@ -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: @@ -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),