seanbreckenridge
0ce44bf0d1
doctor: better quick option propogation for stats ( #239 )
...
doctor: better quick option propogation for stats
* use contextmanager for quick stats instead of editing global state
directly
* send quick to lots of stat related functions, so they
could possibly be used without doctor, if someone wanted to
* if a stats function has a 'quick' kwarg, send the value
there as well
* add an option to sort locations in my.time.tz.via_location
2022-05-02 00:13:05 +01:00
Sean Breckenridge
5ecd4b4810
cleanup; remove unused imports
2021-04-02 08:38:06 +01:00
Dima Gerasimov
3b4a2a378f
core: make discovery even more static, has_stats via ast + tests
2021-02-19 02:39:25 +00:00
Dima Gerasimov
f90599d7e4
core: make discovery rely on ast module more, add test
2021-02-19 02:39:25 +00:00
Dima Gerasimov
97650adf3b
core: add discovery_pure module to get modules and their dependencies via ast module
2021-02-18 02:04:40 +00:00
Dima Gerasimov
4ad4f34cda
core: improve mypy coverage
2021-02-18 02:04:40 +00:00
Dima Gerasimov
571cb48aea
core: add modules_ast for more robust module collection
2020-12-11 07:02:16 +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
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
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
d890599c7c
cli: add checks for importing modules
2020-05-25 11:41:44 +01:00