Skip to content

Commit efb0585

Browse files
committed
Apply pre-commit
1 parent 102310b commit efb0585

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_diffraction_objects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def test_dump(tmp_path, mocker):
433433
"dmax": np.float64(np.inf),
434434
"wavelength": 4.0 * np.pi,
435435
},
436-
True
436+
True,
437437
),
438438
( # instantiate just array attributes
439439
{
@@ -463,7 +463,7 @@ def test_dump(tmp_path, mocker):
463463
"dmax": np.float64(np.inf),
464464
"wavelength": 4.0 * np.pi,
465465
},
466-
False
466+
False,
467467
),
468468
],
469469
)

tests/test_transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def test_tth_to_d_invalid(wavelength, tth, expected_error_type, expected_error_m
236236
4 * np.pi,
237237
np.array([4 * np.pi, 4 / np.sqrt(2) * np.pi, 4 / np.sqrt(3) * np.pi]),
238238
np.array([60.0, 90.0, 120.0]),
239-
False
239+
False,
240240
),
241241
],
242242
)

0 commit comments

Comments
 (0)