Skip to content

Commit d9d6de2

Browse files
Disable ruff/flake8-simplify rule SIM103
SIM103 Return the negated condition directly
1 parent 26c0945 commit d9d6de2

File tree

1 file changed

+1
-1
lines changed
  • nipy/algorithms/statistics

1 file changed

+1
-1
lines changed

nipy/algorithms/statistics/rft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def compatible(self, other):
221221
False
222222
>>>
223223
"""
224-
if self.m != other.m:
224+
if self.m != other.m: # noqa: SIM103
225225
#raise ValueError, 'quasi polynomials are not compatible, m disagrees'
226226
return False
227227
return True

0 commit comments

Comments
 (0)