Skip to content

Commit 6deec9d

Browse files
authored
Fix formatting of quaternion function
...to satisfy black. To close Issue #113.
1 parent a12a432 commit 6deec9d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_bno055.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,9 @@ def _euler(self) -> None:
460460
raise NotImplementedError("Must be implemented.")
461461

462462
@property
463-
def quaternion(self) -> Tuple[Optional[float], Optional[float], Optional[float], Optional[float]]:
463+
def quaternion(
464+
self,
465+
) -> Tuple[Optional[float], Optional[float], Optional[float], Optional[float]]:
464466
"""Gives the calculated orientation as a quaternion.
465467
Returns an empty tuple of length 4 when this property has been disabled by the current mode.
466468
"""

0 commit comments

Comments
 (0)