Skip to content

Commit 2ff0b8d

Browse files
committed
solving pre-commit issues
1 parent ad87133 commit 2ff0b8d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

core/src/toga/hardware/location.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,17 @@ def start_visit_tracking(self):
183183
if hasattr(self._impl, "start_visit_tracking"):
184184
self._impl.start_visit_tracking()
185185
else:
186-
raise NotImplementedError("Visit tracking is not available on this platform.")
186+
raise NotImplementedError(
187+
"Visit tracking is not available on this platform."
188+
)
187189

188190
def stop_visit_tracking(self):
189191
if hasattr(self._impl, "stop_visit_tracking"):
190192
self._impl.stop_visit_tracking()
191193
else:
192-
raise NotImplementedError("Visit tracking is not available on this platform.")
193-
194+
raise NotImplementedError(
195+
"Visit tracking is not available on this platform."
196+
)
194197

195198
def current_location(self) -> LocationResult:
196199
"""Obtain the user's current location using the location service.

0 commit comments

Comments
 (0)