ignore a lint
This commit is contained in:
parent
438cde513e
commit
f12a1c6421
@ -211,7 +211,7 @@ class Reference(Element):
|
|||||||
if self.colrow is not None:
|
if self.colrow is not None:
|
||||||
if self.xy.size != 6:
|
if self.xy.size != 6:
|
||||||
raise KlamathError(f'colrow is not None, so expected size-6 xy. Got {self.xy}')
|
raise KlamathError(f'colrow is not None, so expected size-6 xy. Got {self.xy}')
|
||||||
else:
|
else: # noqa: PLR5501
|
||||||
if self.xy.size != 2:
|
if self.xy.size != 2:
|
||||||
raise KlamathError(f'Expected size-2 xy. Got {self.xy}')
|
raise KlamathError(f'Expected size-2 xy. Got {self.xy}')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user