fix spelling mistakes

This commit is contained in:
Sean Breckenridge 2021-03-27 18:20:06 -07:00 committed by karlicoss
parent 29384aef44
commit 1b36bd4379
3 changed files with 3 additions and 3 deletions

View file

@ -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]

View file

@ -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")

View file

@ -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