Add "doctest" session ...
... to run `xdoctest` against the `velofy` package. Also, install `xdoctest` with only its "colors" extra as the notebooks do not contain doctests.
This commit is contained in:
parent
110c6f755b
commit
32f6540ec3
1 changed files with 68 additions and 61 deletions
|
|
@ -47,7 +47,8 @@ class Location: # noqa:WPS214
|
|||
Convention is {ZONE} {EASTING} {NORTHING}.
|
||||
|
||||
Example:
|
||||
`<Location: 17T 630084 4833438>'`
|
||||
>>> Location(43.6532, -79.3832)
|
||||
<Location: 17T 630378 4834625>
|
||||
"""
|
||||
return f'<Location: {self.zone} {self.easting} {self.northing}>' # noqa:WPS221
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue