Dima Gerasimov
|
d7abff03fc
|
add dataclasses dependency for python<3.7
|
2020-05-10 22:43:02 +01:00 |
|
Dima Gerasimov
|
1d0ef82d32
|
Add test demonstrating unloading the module during dynamic configuration
|
2020-05-10 21:57:55 +01:00 |
|
Dima Gerasimov
|
0ac78143f2
|
add my.demo for testing out various approaches to configuring
|
2020-05-10 21:32:48 +01:00 |
|
karlicoss
|
d6f071e3b1
|
Merge pull request #45 from karlicoss/better-configs
Better configs: safer and self documented
|
2020-05-10 18:11:52 +01:00 |
|
Dima Gerasimov
|
976b3da6f4
|
Autoextract documentation for some modules, improve docs
|
2020-05-10 18:09:12 +01:00 |
|
Dima Gerasimov
|
9cb39103c6
|
start autogenerating documentation on modules
|
2020-05-10 16:42:40 +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
|
217116dfe9
|
Use @dataclass with reddit, seems to work well
|
2020-05-10 14:47:02 +01:00 |
|
Dima Gerasimov
|
051cbe3e38
|
update config documentation even more
|
2020-05-10 13:27:25 +01:00 |
|
Dima Gerasimov
|
9206366184
|
more requirements for the configuration
|
2020-05-10 12:05:36 +01:00 |
|
Dima Gerasimov
|
08dffac7b4
|
explain some rationales about the config format
|
2020-05-10 10:34:50 +01:00 |
|
Dima Gerasimov
|
5fd5b91b92
|
Try the NamedTuple apptoach got google takeouts
|
2020-05-09 23:32:30 +01:00 |
|
Dima Gerasimov
|
c877104b90
|
another attempt to make the configs more self-documenting: via NamedTuple
|
2020-05-09 23:17:44 +01:00 |
|
Dima Gerasimov
|
4b8c2d4be4
|
Inherit from the base config
|
2020-05-09 22:21:15 +01:00 |
|
Dima Gerasimov
|
90b9d1d9c1
|
Use Protocol for proper config documentation
|
2020-05-09 21:38:25 +01:00 |
|
Dima Gerasimov
|
c75747f371
|
improving config documentation and allowing for fallbacks
|
2020-05-09 20:06:07 +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
|
5f4acfddee
|
add takeout example
|
2020-05-08 16:57:59 +01:00 |
|
Dima Gerasimov
|
505a2b22ae
|
fix my.config.repos stub
|
2020-05-07 08:39:30 +01:00 |
|
karlicoss
|
40b6a82b7c
|
Merge pull request #42 from karlicoss/updates
cleanup, move stuff to my.core, update docs
|
2020-05-06 23:23:41 +01:00 |
|
Dima Gerasimov
|
d4a430e12e
|
update dev docs
|
2020-05-06 23:21:29 +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
|
eb97021b8e
|
improve lint script, explore subpackages
|
2020-05-06 22:28:37 +01:00 |
|
Dima Gerasimov
|
b7e5640f35
|
move init.py to my.core
|
2020-05-06 22:20:00 +01:00 |
|
Dima Gerasimov
|
9d5d368891
|
get rid of unnecessary .init imports
|
2020-05-06 22:05:16 +01:00 |
|
Dima Gerasimov
|
069732600c
|
cleanup for reddit data provider
|
2020-05-06 08:09:20 +01:00 |
|
Dima Gerasimov
|
5d3c0bdb1f
|
update with_my script, use correct order of arguments
|
2020-05-05 22:22:32 +01:00 |
|
Dima Gerasimov
|
6d1fba2171
|
Extra test for MY_CONFIG variable; fix order import for stub/dynamic config
|
2020-05-05 22:22:32 +01:00 |
|
Dima Gerasimov
|
636060db57
|
Simplify config discovery: get rid of the hacky stub and reimport proper config automatically
|
2020-05-05 22:22:32 +01:00 |
|
Dima Gerasimov
|
fd224d8c38
|
add test for config.set_repo
|
2020-05-04 22:08:58 +01:00 |
|
Dima Gerasimov
|
4cceccd787
|
add test for dynamic config attributes (import my.cfg as config)
|
2020-05-04 22:08:58 +01:00 |
|
Dima Gerasimov
|
fe763c3c04
|
Fix my.config handling during mypy
|
2020-05-04 19:52:18 +01:00 |
|
Dima Gerasimov
|
1f07e1a2a8
|
enable mypy on CI for core stuff
|
2020-05-04 19:52:18 +01:00 |
|
Dima Gerasimov
|
3912ef2460
|
fix zstd handling and github wrapper
|
2020-05-04 19:52:18 +01:00 |
|
karlicoss
|
77d557e172
|
Merge pull request #38 from karlicoss/updates
More uniform handling for compressed files
|
2020-05-04 08:57:48 +01:00 |
|
Dima Gerasimov
|
55ac85c7e7
|
cpath tests, rely more on it
|
2020-05-04 08:53:41 +01:00 |
|
Dima Gerasimov
|
8b8a85e8c3
|
kompress.kopen improvements
- tests
- uniform handling for bytes/str, always return utf8 str by default
|
2020-05-04 08:37:36 +01:00 |
|
Dima Gerasimov
|
c3a77b6256
|
initial kompress tests
|
2020-05-04 07:50:29 +01:00 |
|
Dima Gerasimov
|
db47ba2d7e
|
Move get_files tests to separate file
|
2020-05-04 07:17:20 +01:00 |
|
karlicoss
|
5aecc037e9
|
Merge pull request #37 from karlicoss/updates
various updates: implicit globs for get-files, mcachew type checking, modules cleanup
|
2020-05-03 17:19:55 +01:00 |
|
Dima Gerasimov
|
0b61dd9e42
|
more minor tweaks, benefit from get_files
|
2020-05-03 17:15:51 +01:00 |
|
Dima Gerasimov
|
9bd61940b8
|
rely on implicit glob for my.reddit
|
2020-05-03 16:56:05 +01:00 |
|
Dima Gerasimov
|
5706f690e7
|
support implicit globs!
|
2020-05-03 16:52:09 +01:00 |
|
Dima Gerasimov
|
c2961cb1cf
|
properly test get_files
|
2020-05-03 16:30:57 +01:00 |
|
Dima Gerasimov
|
5c6eec62ee
|
start testing get_files
|
2020-05-03 16:17:48 +01:00 |
|
Dima Gerasimov
|
19e90eb647
|
improvements to @mcachew type checking
|
2020-05-03 15:57:11 +01:00 |
|
Dima Gerasimov
|
78dbbd3c55
|
prettify emfit provider
|
2020-05-03 13:42:31 +01:00 |
|
Dima Gerasimov
|
2bf62e2db3
|
fix photo link
|
2020-05-03 12:26:18 +01:00 |
|