Easy spacing fixes, trailing stuff
Remove useless trailing \ Remove trailing spaces Add missing empty lines autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 . Diff quickly checked.
This commit is contained in:
parent
c21d1f7925
commit
7094931c92
231 changed files with 474 additions and 67 deletions
|
|
@ -71,6 +71,7 @@ class Forecast(CapBaseObject):
|
|||
self.high = Temperature(high, unit)
|
||||
self.text = text
|
||||
|
||||
|
||||
class Current(CapBaseObject):
|
||||
"""
|
||||
Current weather.
|
||||
|
|
@ -85,6 +86,7 @@ class Current(CapBaseObject):
|
|||
self.text = text
|
||||
self.temp = Temperature(temp, unit)
|
||||
|
||||
|
||||
class City(CapBaseObject):
|
||||
"""
|
||||
City where to find weather.
|
||||
|
|
@ -95,11 +97,13 @@ class City(CapBaseObject):
|
|||
CapBaseObject.__init__(self, id)
|
||||
self.name = name
|
||||
|
||||
|
||||
class CityNotFound(UserError):
|
||||
"""
|
||||
Raised when a city is not found.
|
||||
"""
|
||||
|
||||
|
||||
class ICapWeather(IBaseCap):
|
||||
"""
|
||||
Capability for weather websites.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue