From c251094a16834dd708e77674e399aa2a729b38b7 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Tue, 29 Mar 2022 12:08:14 -0700 Subject: [PATCH] Re-ran pre-commit after updating black version --- test/src/testing/universal/i2c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/testing/universal/i2c.py b/test/src/testing/universal/i2c.py index 5c2331a..0a3e478 100644 --- a/test/src/testing/universal/i2c.py +++ b/test/src/testing/universal/i2c.py @@ -69,7 +69,7 @@ class TestMMA8451Interactive(TestCase): sensor = adafruit_mma8451.MMA8451(i2c) x, y, z = sensor.acceleration - absolute = math.sqrt(x ** 2 + y ** 2 + z ** 2) + absolute = math.sqrt(x**2 + y**2 + z**2) self.assertTrue(9 <= absolute <= 11, "Not earth gravity") orientation = sensor.orientation -- 2.49.0