Commit graph

34 commits

Author SHA1 Message Date
Dima Gerasimov
1cc4eb5d8d core: add helper for computing stats; use it in modules 2020-06-04 22:19:34 +01:00
Dima Gerasimov
3d7844b711 core: support '' for explicitly set empty path set 2020-06-01 23:45:26 +01:00
Dima Gerasimov
d7aff1be3f github: start moving to a proper artbitrated module 2020-06-01 22:49:31 +01:00
Dima Gerasimov
e351c8ba49 cli: add 'config init' command 2020-05-25 12:25:41 +01:00
Dima Gerasimov
7bd7cc9228 cli: integrate with stats reported by the modules 2020-05-25 11:46:30 +01:00
Dima Gerasimov
d890599c7c cli: add checks for importing modules 2020-05-25 11:41:44 +01:00
Dima Gerasimov
8019389ccb cli: move doctor to core, add doc 2020-05-25 10:17:40 +01:00
Dima Gerasimov
dab29a44b5 cli: detect config properly in mypy check 2020-05-25 10:04:58 +01:00
Dima Gerasimov
248e48dc30 core: improve types for warn_if_empty
ok, works with this advice https://github.com/python/mypy/issues/1927 + overloads
2020-05-25 01:23:30 +01:00
Dima Gerasimov
216944b3cd core: improvements for warnings, twitter/rss: try using @warn_if_empty 2020-05-25 00:56:03 +01:00
Dima Gerasimov
616ffb457e core: user overloads to type @warn_if_empty properly.. 2020-05-25 00:25:33 +01:00
Dima Gerasimov
e3a71ea6c6 my.core: more work on typing @warn_if_empty, extra test 2020-05-25 00:25:33 +01:00
Dima Gerasimov
4b22d17188 core: add @warn_if_empty decorator 2020-05-25 00:25:33 +01:00
Dima Gerasimov
b99b2f3cfa core: add warning when get_files returns no files, my.twitter.archive: make more defensive in case of no archives 2020-05-24 12:51:23 +01:00
Dima Gerasimov
02ba71a91d documentation: generate tables of content, better navigation 2020-05-18 23:31:55 +01:00
Dima Gerasimov
c8bdbfd69f core: expand '~' in get_files & import_dir 2020-05-18 22:43:27 +01:00
Dima Gerasimov
403ec18385 core/modules: get rid of set_repo uses, it was just complicating everythin 2020-05-18 21:33:52 +01:00
Dima Gerasimov
0f80e9d5e6 ok, seems that import_dir is a bit saner 2020-05-18 21:04:38 +01:00
Dima Gerasimov
87ad9d38bb polar: add test for orger integration 2020-05-15 09:52:18 +01:00
Dima Gerasimov
0f27071dcc polar: minor improvements, konsume: more type annotations 2020-05-15 09:07:23 +01:00
Dima Gerasimov
f3d5064ff2 polar: allow properly specifying polar_dir, with ~ as a default 2020-05-15 08:18:47 +01:00
Dima Gerasimov
8f86d7706b core: use appdirs for ~/.config detection 2020-05-15 08:18:47 +01:00
Dima Gerasimov
6235e6ffae Make my.core a proper package (for brevity purposes) 2020-05-14 23:01:50 +01:00
Dima Gerasimov
c289fbb872 rss: minor enhancements 2020-05-13 22:58:09 +01:00
Dima Gerasimov
cda6bd51ce add py37 compatilibity helper for datetime.fromisoformat 2020-05-13 22:52:23 +01:00
Dima Gerasimov
e92ca215e3 Adapt takeout and twitter configs to the new pattern
Works fairly well so far?
2020-05-10 15:56:57 +01:00
Dima Gerasimov
8cbbafae1d extract dataclass-based config helper 2020-05-10 15:18:45 +01:00
Dima Gerasimov
66453cb29b add @classproperty, change set_repo to not require the parent 2020-05-09 20:03:35 +01:00
Dima Gerasimov
6ecb953675 cleanup, mypy coverage & add common/error stubs 2020-05-06 22:54:14 +01:00
Dima Gerasimov
15444c7b1f move common/error to my.core 2020-05-06 22:36:29 +01:00
Dima Gerasimov
b7e5640f35 move init.py to my.core 2020-05-06 22:20:00 +01:00
Dima Gerasimov
51ae8601b4 Update docstrings and add links 2020-04-26 16:50:06 +01:00
Dima Gerasimov
21e82f0cd6 add disable_cachew helper 2020-04-24 15:19:31 +01:00
Dima Gerasimov
6f8c2e2f24 Use twint data export for periodic twitter data 2020-04-14 21:33:50 +01:00