Skip to content

Commit b06e4b0

Browse files
style: apply automated linter fixes
1 parent 4d77303 commit b06e4b0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

tests/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
import matplotlib as mpl
44
import pytest
5+
from safeds.data.image.containers import Image
56
from syrupy import SnapshotAssertion
67
from syrupy.extensions.single_file import SingleFileSnapshotExtension
78
from syrupy.types import SerializedData
89

9-
from safeds.data.image.containers import Image
10-
1110
# Fix for failures when running pytest in a terminal (https://github.com/Safe-DS/Library/issues/482)
1211
mpl.use("agg")
1312

tests/safeds/data/image/containers/test_image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ class TestAddGaussianNoise:
412412
ids=["minimum noise", "some noise", "very noisy"],
413413
)
414414
def test_should_add_noise(
415-
self, resource_path: str, standard_deviation: float, snapshot_png: SnapshotAssertion
415+
self, resource_path: str, standard_deviation: float, snapshot_png: SnapshotAssertion,
416416
) -> None:
417417
image = Image.from_png_file(resolve_resource_path(resource_path))
418418
assert image.add_gaussian_noise(standard_deviation) == snapshot_png
@@ -490,7 +490,7 @@ def test_should_return_clockwise_rotated_image(self, resource_path: str, snapsho
490490
ids=["rotate-counter-clockwise"],
491491
)
492492
def test_should_return_counter_clockwise_rotated_image(
493-
self, resource_path: str, snapshot_png: SnapshotAssertion
493+
self, resource_path: str, snapshot_png: SnapshotAssertion,
494494
) -> None:
495495
image = Image.from_png_file(resolve_resource_path(resource_path))
496496
assert image.rotate_left() == snapshot_png

0 commit comments

Comments
 (0)