Replace darglint with pydoclint
This commit is contained in:
parent
3ec7ec8c98
commit
4a81403f15
7 changed files with 74 additions and 33 deletions
|
|
@ -136,7 +136,7 @@ class Address(meta.Base):
|
|||
|
||||
Returns:
|
||||
self: enabling method chaining
|
||||
""" # noqa:D402,DAR203
|
||||
""" # noqa:D402
|
||||
self.city.clear_map()
|
||||
return self
|
||||
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ class City(meta.Base):
|
|||
|
||||
Returns:
|
||||
self: enabling method chaining
|
||||
""" # noqa:DAR203 note:d334120e
|
||||
""" # note:d334120e
|
||||
self._map = folium.Map(
|
||||
location=[self.center_latitude, self.center_longitude],
|
||||
zoom_start=self.initial_zoom,
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class Customer(meta.Base):
|
|||
|
||||
Returns:
|
||||
self: enabling method chaining
|
||||
""" # noqa:D402,DAR203
|
||||
""" # noqa:D402
|
||||
self.orders[0].pickup_address.city.clear_map()
|
||||
return self
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ class Grid(meta.Base):
|
|||
|
||||
Returns:
|
||||
self: enabling method chaining
|
||||
""" # noqa:D402,DAR203
|
||||
""" # noqa:D402
|
||||
self.city.clear_map()
|
||||
return self
|
||||
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ class Pixel(meta.Base):
|
|||
|
||||
Returns:
|
||||
self: enabling method chaining
|
||||
""" # noqa:D402,DAR203
|
||||
""" # noqa:D402
|
||||
self.grid.city.clear_map()
|
||||
return self
|
||||
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ class Restaurant(meta.Base):
|
|||
|
||||
Returns:
|
||||
self: enabling method chaining
|
||||
""" # noqa:D402,DAR203
|
||||
""" # noqa:D402
|
||||
self.address.city.clear_map()
|
||||
return self
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,9 @@ class Location:
|
|||
|
||||
Convention is {ZONE} {EASTING} {NORTHING}.
|
||||
|
||||
Returns:
|
||||
text representation in the UTM system
|
||||
|
||||
Example:
|
||||
>>> Location(43.6532, -79.3832)
|
||||
<Location: 17T 630378 4834625>
|
||||
|
|
|
|||
Loading…
Reference in a new issue