@@ -2686,7 +2686,7 @@ def __lt__(self, other):
26862686 return ~ self .__ge__ (other )
26872687
26882688 # Define all possible algebraic operations
2689- def __add__ (self , other ): # pylint: disable=too-many-statements
2689+ def __add__ (self , other ):
26902690 """Sums a Function object and 'other', returns a new Function
26912691 object which gives the result of the sum.
26922692
@@ -2775,7 +2775,7 @@ def __radd__(self, other):
27752775 """
27762776 return self + other
27772777
2778- def __sub__ (self , other ): # pylint: disable=too-many-statements
2778+ def __sub__ (self , other ):
27792779 """Subtracts from a Function object and returns a new Function object
27802780 which gives the result of the subtraction.
27812781
@@ -2867,7 +2867,7 @@ def __rsub__(self, other):
28672867 """
28682868 return other + (- self )
28692869
2870- def __mul__ (self , other ): # pylint: disable=too-many-statements
2870+ def __mul__ (self , other ):
28712871 """Multiplies a Function object and returns a new Function object
28722872 which gives the result of the multiplication.
28732873
@@ -3098,7 +3098,7 @@ def __rtruediv__(self, other):
30983098 # pragma: no cover
30993099 raise TypeError ("Unsupported type for division" )
31003100
3101- def __pow__ (self , other ): # pylint: disable=too-many-statements
3101+ def __pow__ (self , other ):
31023102 """Raises a Function object to the power of 'other' and
31033103 returns a new Function object which gives the result.
31043104
@@ -3248,7 +3248,7 @@ def __matmul__(self, other):
32483248 """
32493249 return self .compose (other )
32503250
3251- def __mod__ (self , other ): # pylint: disable=too-many-statements
3251+ def __mod__ (self , other ):
32523252 """Operator % as an alias for modulo operation."""
32533253 other_is_func = isinstance (other , Function )
32543254 other_is_array = (
@@ -4155,7 +4155,7 @@ def __validate_extrapolation(self, extrapolation):
41554155 extrapolation = "natural"
41564156 return extrapolation
41574157
4158- def to_dict (self , ** kwargs ): # pylint: disable=unused-argument
4158+ def to_dict (self , ** kwargs ):
41594159 """Serializes the Function instance to a dictionary.
41604160
41614161 Returns
@@ -4338,7 +4338,7 @@ class funcify_method_decorator:
43384338 class.
43394339 """
43404340
4341- # pylint: disable=C0103,R0903
4341+ # pylint: disable=C0103
43424342 def __init__ (self , func ):
43434343 self .func = func
43444344 self .attrname = None
@@ -4370,7 +4370,6 @@ def source_function(*_):
43704370
43714371 source = source_function
43724372 val = Function (source , * args , ** kwargs )
4373- # pylint: disable=W0201
43744373 val .__doc__ = self .__doc__
43754374 val .__cached__ = True
43764375 cache [self .attrname ] = val
0 commit comments