ruff: enable RUF ruleset
This commit is contained in:
parent
dc0726c347
commit
c3da26abcb
15 changed files with 31 additions and 27 deletions
|
@ -70,7 +70,7 @@ def locations_to_gpx(locations: Iterable[LocationProtocol], buffer: TextIO) -> I
|
|||
)
|
||||
except AttributeError:
|
||||
yield TypeError(
|
||||
f"Expected a Location or Location-like object, got {type(location)} {repr(location)}"
|
||||
f"Expected a Location or Location-like object, got {type(location)} {location!r}"
|
||||
)
|
||||
continue
|
||||
gpx_segment.points.append(point)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue