Skip to content

Commit

Permalink
Ignore new flake8 error (#1138)
Browse files Browse the repository at this point in the history
  • Loading branch information
fepegar authored Jan 19, 2024
1 parent e8c5b6a commit 08cd1a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/transforms/test_invertibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_all_random_transforms(self):
# Remove RandomLabelsToImage as it will add a new image to the subject
for t in transform.transforms:
if t.name == 'RandomLabelsToImage':
transform.transforms.remove(t)
transform.transforms.remove(t) # noqa: B038
break
# Ignore elastic deformation and gamma warnings during execution
# Ignore some transforms not invertible
Expand Down

0 comments on commit 08cd1a3

Please sign in to comment.