mirror of
https://github.com/powerline/powerline.git
synced 2025-07-29 00:34:49 +02:00
Change indentation of closing }, ], ) and combinations of them
This commit is contained in:
parent
ada5dede25
commit
27c9a05782
@ -340,14 +340,14 @@ temp_conversions = {
|
|||||||
'C': lambda temp: temp,
|
'C': lambda temp: temp,
|
||||||
'F': lambda temp: (temp * 9 / 5) + 32,
|
'F': lambda temp: (temp * 9 / 5) + 32,
|
||||||
'K': lambda temp: temp + 273.15,
|
'K': lambda temp: temp + 273.15,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Note: there are also unicode characters for units: ℃, ℉ and K
|
# Note: there are also unicode characters for units: ℃, ℉ and K
|
||||||
temp_units = {
|
temp_units = {
|
||||||
'C': '°C',
|
'C': '°C',
|
||||||
'F': '°F',
|
'F': '°F',
|
||||||
'K': 'K',
|
'K': 'K',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class WeatherSegment(ThreadedSegment):
|
class WeatherSegment(ThreadedSegment):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user