Commit graph

283 commits

Author SHA1 Message Date
Dima Gerasimov
2619af7ae7 doctor: warn if the default config is used 2020-11-01 02:02:43 +01:00
Dima Gerasimov
1849a66f08 general: get rid of example_config & use demo/stub my.config instead 2020-11-01 02:02:43 +01:00
Dima Gerasimov
96be32aa51 mypy-friendly compat functions handling 2020-11-01 01:51:10 +01:00
Dima Gerasimov
3a9e3e080f my.time.tz: implement different policies for localizing 2020-11-01 01:51:10 +01:00
Dima Gerasimov
15789a4149 kyhton.kompress: move to core (with a fallback, used in promnesia) 2020-10-29 03:13:18 +01:00
Dima Gerasimov
655b86bb0a my.kython.konsume: move to core 2020-10-29 03:13:18 +01:00
Dima Gerasimov
cc127f1876 kython.klogging
- move to core
- add a proper description why it's useful
- make default level INFO
- use HPI_LOGS variable for easier log level control (abdc6df1ea)
2020-10-29 03:13:18 +01:00
Dima Gerasimov
a946e23dd3 core.pandas: dump the timezones in check_dateish 2020-10-21 01:29:29 +02:00
Dima Gerasimov
831fee42a1 core: minor error handling tweaks 2020-10-21 01:29:29 +02:00
Dima Gerasimov
2a2478bfa9 core: update cachew annotations
orgmode: expose method to construct cacheable note
2020-10-21 01:29:29 +02:00
Dima Gerasimov
bdfac96352 core.error: more generic sort_res_by 2020-10-21 01:29:29 +02:00
Dima Gerasimov
fa5e181cf8 core: minor helpers for error handling 2020-10-21 01:29:29 +02:00
Dima Gerasimov
6a1a006202 core: add DataFrame support to stat 2020-10-11 18:44:37 +02:00
Dima Gerasimov
209cffb476 doctor: print import order 2020-10-09 23:22:00 +02:00
Dima Gerasimov
96113ad5ae my.calendar.holidays: unhardcode calendar, detect it from the location data 2020-10-09 23:22:00 +02:00
Dima Gerasimov
bdb5dcd221 my.calendar.holidays: cleanup + ci/stats + split off private data handling to https://github.com/karlicoss/hpi-personal-overlay 2020-10-09 23:22:00 +02:00
Dima Gerasimov
ced93e6942 reflect cachew changes of exception handling and temporary suppression 2020-10-08 21:22:02 +02:00
Dima Gerasimov
d3f2551560 core.pandas: check index in check_dataframe 2020-10-04 01:40:52 +02:00
Dima Gerasimov
6242307d7a my.bluemaestro: run against testdata, add on CI 2020-10-04 01:40:52 +02:00
Dima Gerasimov
06ee72bc30 core: more type annotations 2020-10-03 18:24:08 +02:00
Sean Breckenridge
c68d81a8ca supress conflicting regex warning 2020-09-30 22:58:48 +02:00
Dima Gerasimov
ed25fc2eeb cli: tabulate warnings for cleaner visual output; add --quick flag for doctor 2020-09-30 21:54:09 +02:00
Dima Gerasimov
fd41caa640 core: add __NOT_HPI_MODULE__ flag to mark utility files etc
(more of an intermediate solution perhaps)
2020-09-30 21:54:09 +02:00
Dima Gerasimov
3b9941e9ee cli: add --all for doctor/modules command 2020-09-30 21:54:09 +02:00
Dima Gerasimov
4b49add746 core: more consistent module detection logic 2020-09-30 21:54:09 +02:00
Dima Gerasimov
c79ffb50f6 core: add tests for core_config 2020-09-30 21:54:09 +02:00
Dima Gerasimov
70c801f692 core: add 'core' config section, add disabled_modules/enabled_modules configs, use them for hpi modules and hpi doctor 2020-09-30 21:54:09 +02:00
Dima Gerasimov
6199ed7916 my.hypothesis: better mypy coverage 2020-09-29 19:44:45 +02:00
Dima Gerasimov
abbaa47aaf core.warnings: handle stacklevel properly
add more warnings about deprecated config arguments
2020-09-29 19:44:45 +02:00
Dima Gerasimov
109edd9da3 general: add compat module and helper for easy backwards compatibiltity for pre-PIP dependencies
my.hypothesis: use hypexport as a proper PIP package + fallback
2020-09-29 19:44:45 +02:00
Dima Gerasimov
fbaa8e0b44 core: add warnings helper to highlight warnings so they are more visible in the output 2020-09-27 17:47:30 +02:00
Dima Gerasimov
28fcc1d9b6 my.rescuetime: use rescuexport directly, add error handling & dataframe 2020-09-18 23:50:40 +01:00
Dima Gerasimov
e34c04ebc8 core.cachew: make disabled_cachew defensive 2020-09-18 23:50:40 +01:00
Dima Gerasimov
ef72ac3386 core: add initial config hacking helper
rescuetime: initial fake data generator
2020-09-18 23:50:40 +01:00
Dima Gerasimov
132db1dc0c core: add pandas utils 2020-09-17 21:39:14 +01:00
Dima Gerasimov
63b848087d my.jawbone: minor cleanup & refactoring, proper error propagation 2020-09-17 21:39:14 +01:00
Dima Gerasimov
99e50f0afe core: experiments with attaching datetime information to errors
my.body.weigth: put datetime information in the error rows
2020-09-09 21:37:15 +01:00
Dima Gerasimov
743312a87b my.body.blood: prettify, add stat() 2020-09-09 21:37:15 +01:00
Dima Gerasimov
d9bbf7cbf0 emfit: propagate errors properly, expose dataframe 2020-09-09 21:37:15 +01:00
Sean Breckenridge
78489157a1 fix spelling mistakes 2020-09-06 20:44:28 +01:00
Dima Gerasimov
6515d1430f core: experimental guessing for last objects' date 2020-08-20 21:30:52 +01:00
Dima Gerasimov
c54d85037c core: add base cachew directory 2020-07-31 12:22:13 +01:00
Dima Gerasimov
a9ae6dbb7f core: add error count to stats helper 2020-07-30 22:37:21 +01:00
Dima Gerasimov
92307d5f3d bluemaestro: support new databases as well 2020-07-28 20:32:35 +01:00
Dima Gerasimov
092aef88ce core: detect compression, wrap in CPath if necessary 2020-07-26 21:31:26 +01:00
Dima Gerasimov
6b548c24c1 doctor: better mypy detection 2020-07-26 21:31:26 +01:00
Dima Gerasimov
5eecd8721d cli: check specific module with doctor; print help on no command 2020-07-06 21:40:41 +01:00
Dima Gerasimov
49d25a75ae core: use immutable mode in dataset helper 2020-07-06 21:40:41 +01:00
Dima Gerasimov
4fc33a9ed2 core: add helper for opening read-only database 2020-07-06 21:40:41 +01:00
Dima Gerasimov
1cc4eb5d8d core: add helper for computing stats; use it in modules 2020-06-04 22:19:34 +01:00