Skip to content

Commit ca3ee09

Browse files
sbryngelsonclaude
andcommitted
Fix pylint warnings introduced by restart_check addition
Add pylint disable comments for too-many-arguments/too-many-positional-arguments on TestCase.__init__ and too-many-instance-attributes on TestCaseBuilder, following the existing pattern already used in define_case_d/define_case_f. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9905bf4 commit ca3ee09

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

toolchain/mfc/test/case.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ class TestCase(case.Case):
110110
override_tol: Optional[float] = None
111111
restart_check: bool = False
112112

113+
# pylint: disable=too-many-arguments, too-many-positional-arguments
113114
def __init__(self, trace: str, mods: dict, ppn: int = None, override_tol: float = None, restart_check: bool = False) -> None:
114115
self.trace = trace
115116
self.ppn = ppn or 1
@@ -302,6 +303,7 @@ def compute_tolerance(self) -> float:
302303

303304
return 1e8 * tolerance if single else tolerance
304305

306+
# pylint: disable=too-many-instance-attributes
305307
@dataclasses.dataclass
306308
class TestCaseBuilder:
307309
trace: str

0 commit comments

Comments
 (0)