fix spelling mistakes
This commit is contained in:
parent
29384aef44
commit
1b36bd4379
3 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ def fill(it: Iterable[Any], *, measurement: str, reset: bool=False, dt_col: str=
|
|||
tags = tags_
|
||||
|
||||
# TODO what to do with exceptions??
|
||||
# todo handle errors.. not sure how? maybe add tag for 'error' and fill with emtpy data?
|
||||
# todo handle errors.. not sure how? maybe add tag for 'error' and fill with empty data?
|
||||
dt = d[dt_col].isoformat()
|
||||
del d[dt_col]
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ def test() -> None:
|
|||
|
||||
M: Callable[[str], None] = lambda s: print(s, file=sys.stderr)
|
||||
|
||||
M(" Logging module's deafults are not great...'")
|
||||
M(" Logging module's defaults are not great...'")
|
||||
l = logging.getLogger('test_logger')
|
||||
# todo why is mypy unhappy about these???
|
||||
l.error("For example, this should be logged as error. But it's not even formatted properly, doesn't have logger name or level")
|
||||
|
|
|
@ -29,7 +29,7 @@ class Config(user_config):
|
|||
@property
|
||||
def _history(self) -> Sequence[Tuple[datetime, LatLon]]:
|
||||
home1 = self.home
|
||||
# tood ugh, can't test for isnstance LatLon, it's a tuple itself
|
||||
# todo ugh, can't test for isnstance LatLon, it's a tuple itself
|
||||
home2: Sequence[Tuple[DateIsh, LatLon]]
|
||||
if isinstance(home1[0], tuple):
|
||||
# already a sequence
|
||||
|
|
Loading…
Add table
Reference in a new issue