fix spelling mistakes

This commit is contained in:
Sean Breckenridge 2020-09-06 01:11:47 -07:00 committed by karlicoss
parent 07dd61ca6a
commit 78489157a1
9 changed files with 10 additions and 10 deletions

View file

@ -15,7 +15,7 @@ import functools
@functools.lru_cache()
def mypy_cmd() -> Optional[Sequence[str]]:
try:
# preferrably, use mypy from current python env
# preferably, use mypy from current python env
import mypy
return ['python3', '-m', 'mypy']
except ImportError:

View file

@ -123,7 +123,7 @@ def _is_compressed(p: Path) -> bool:
return p.suffix in {'.xz', '.lz4', '.zstd'}
# TODO support '' for emtpy path
# TODO support '' for empty path
DEFAULT_GLOB = '*'
def get_files(
pp: Paths,

View file

@ -89,7 +89,7 @@ def stats():
# TODO hmm. need some sort of abstract syntax for this...
# TODO split further, title too
def _get_summary(e) -> Tuple[str, Optional[str], Optional[str]]:
# TODO would be nice to give access to raw event withing timeline
# TODO would be nice to give access to raw event within timeline
eid = e['id']
tp = e['type']
pl = e['payload']

View file

@ -40,7 +40,7 @@ def inputs() -> Sequence[Path]:
class Scrobble(NamedTuple):
raw: Json
# TODO mm, no timezone? hopefuly it's UTC
# TODO mm, no timezone? hopefully it's UTC
@property
def dt(self) -> datetime:
ts = int(self.raw['date'])