Skip to content

Commit dd53aad

Browse files
Suppress lint warning
1 parent 50cef20 commit dd53aad

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/libsemigroups_pybind11/order.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ def __call__(self: _Self, x: str | list[int], y: str | list[int]) -> bool:
454454

455455
@_copydoc(_WrCmpDefault.init, _WrCmpString.init)
456456
def init(self: _Self, *args) -> _Self:
457+
# pylint: disable=missing-function-docstring
457458
cxx_self = _to_cxx(self)
458459
result = cxx_self.init(*(_to_cxx(arg) for arg in args))
459460
return self if result is cxx_self else result
@@ -487,6 +488,7 @@ def __call__(self: _Self, x: str | list[int], y: str | list[int]) -> bool:
487488

488489
@_copydoc(_RevWrCmpDefault.init, _RevWrCmpString.init)
489490
def init(self: _Self, *args) -> _Self:
491+
# pylint: disable=missing-function-docstring
490492
cxx_self = _to_cxx(self)
491493
result = cxx_self.init(*(_to_cxx(arg) for arg in args))
492494
return self if result is cxx_self else result
@@ -520,6 +522,7 @@ def __call__(self: _Self, x: str | list[int], y: str | list[int]) -> bool:
520522

521523
@_copydoc(_WtLenLexCmpDefault.init, _WtLenLexCmpString.init)
522524
def init(self: _Self, *args) -> _Self:
525+
# pylint: disable=missing-function-docstring
523526
cxx_self = _to_cxx(self)
524527
result = cxx_self.init(*(_to_cxx(arg) for arg in args))
525528
return self if result is cxx_self else result
@@ -553,6 +556,7 @@ def __call__(self: _Self, x: str | list[int], y: str | list[int]) -> bool:
553556

554557
@_copydoc(_RevWtLenLexCmpDefault.init, _RevWtLenLexCmpString.init)
555558
def init(self: _Self, *args) -> _Self:
559+
# pylint: disable=missing-function-docstring
556560
cxx_self = _to_cxx(self)
557561
result = cxx_self.init(*(_to_cxx(arg) for arg in args))
558562
return self if result is cxx_self else result
@@ -586,6 +590,7 @@ def __call__(self: _Self, x: str | list[int], y: str | list[int]) -> bool:
586590

587591
@_copydoc(_WtLexCmpDefault.init, _WtLexCmpString.init)
588592
def init(self: _Self, *args) -> _Self:
593+
# pylint: disable=missing-function-docstring
589594
cxx_self = _to_cxx(self)
590595
result = cxx_self.init(*(_to_cxx(arg) for arg in args))
591596
return self if result is cxx_self else result
@@ -619,6 +624,7 @@ def __call__(self: _Self, x: str | list[int], y: str | list[int]) -> bool:
619624

620625
@_copydoc(_RevWtLexCmpDefault.init, _RevWtLexCmpString.init)
621626
def init(self: _Self, *args) -> _Self:
627+
# pylint: disable=missing-function-docstring
622628
cxx_self = _to_cxx(self)
623629
result = cxx_self.init(*(_to_cxx(arg) for arg in args))
624630
return self if result is cxx_self else result
@@ -652,6 +658,7 @@ def __call__(self: _Self, x: str | list[int], y: str | list[int]) -> bool:
652658

653659
@_copydoc(_LenWtLexCmpDefault.init, _LenWtLexCmpString.init)
654660
def init(self: _Self, *args) -> _Self:
661+
# pylint: disable=missing-function-docstring
655662
cxx_self = _to_cxx(self)
656663
result = cxx_self.init(*(_to_cxx(arg) for arg in args))
657664
return self if result is cxx_self else result
@@ -685,6 +692,7 @@ def __call__(self: _Self, x: str | list[int], y: str | list[int]) -> bool:
685692

686693
@_copydoc(_RevLenWtLexCmpDefault.init, _RevLenWtLexCmpString.init)
687694
def init(self: _Self, *args) -> _Self:
695+
# pylint: disable=missing-function-docstring
688696
cxx_self = _to_cxx(self)
689697
result = cxx_self.init(*(_to_cxx(arg) for arg in args))
690698
return self if result is cxx_self else result

0 commit comments

Comments
 (0)