Skip to content

Commit 3c13348

Browse files
committed
fix code style using black -l 120
1 parent 19966b8 commit 3c13348

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/python/picongpu/quick/picmi/gaussian_laser.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ def test_basic(self):
5151
self.assertEqual([[1, -1], [1, -1], [1, -1]], pypic_laser.huygens_surface_positions)
5252

5353
# computed values
54-
self.assertAlmostEqual(-2. * picmi_laser.centroid_position[1] / picmi_laser.propagation_direction[1]
55-
/ c / picmi_laser.duration, pypic_laser.pulse_init)
54+
self.assertAlmostEqual(
55+
-2.0 * picmi_laser.centroid_position[1] / picmi_laser.propagation_direction[1] / c / picmi_laser.duration,
56+
pypic_laser.pulse_init,
57+
)
5658

5759
def test_scalar_values_negative(self):
5860
"""waist, duration and wavelelngth must be > 0"""

0 commit comments

Comments
 (0)