nyanpasu64
|
70d6cfc1a2
|
Run black on code
|
2019-01-03 13:00:18 -08:00 |
nyanpasu64
|
5c47c293cb
|
Rename ovgenpy to corrscope
|
2018-12-22 18:39:03 -08:00 |
nyanpasu64
|
021e157894
|
Update ruamel.yaml to 0.15.70, add behavior tests
|
2018-12-18 20:53:23 -08:00 |
nyanpasu64
|
027ba504bd
|
When loading invalid config, wrap exceptions with OvgenError
Fix unit test (switching to OvgenError)
|
2018-12-18 20:53:23 -08:00 |
nyanpasu64
|
a78c3712c9
|
Switch from keyword_dataclasses to attrs, fix Python 3.7
keyword_dataclasses works on 3.6 and 3.6 only. attrs works everywhere.
Validators and converters are not used yet.
|
2018-11-26 18:00:30 -08:00 |
nyanpasu64
|
98a13e9c5b
|
Add Ignored object, for discarding config fields
|
2018-08-25 22:25:09 -07:00 |
nyanpasu64
|
56438bed5c
|
Add Alias class, for config field aliasing
|
2018-08-25 22:19:09 -07:00 |
nyanpasu64
|
a2237e09d6
|
Cleanup unit-test files
|
2018-08-24 01:46:33 -07:00 |
nyanpasu64
|
d9555c101e
|
Add unit test for YAML config loading validation
|
2018-08-19 16:15:51 -07:00 |
nyanpasu64
|
06159555a1
|
Disable test for config type checking
|
2018-08-14 02:20:07 -07:00 |
nyanpasu64
|
f2af4299b2
|
Import dataclass from config (either dataclasses or keyword_dataclasses)
|
2018-07-29 06:35:35 -07:00 |
nyanpasu64
|
7f0e1ccaba
|
(Config YAML) Add support for always dumping default fields
@register_config(always_dump='field names || *')
|
2018-07-29 06:35:17 -07:00 |
nyanpasu64
|
1124c46f1e
|
Type-check fields, when loading config dataclasses from YAML
|
2018-07-29 06:35:15 -07:00 |
nyanpasu64
|
648829b4d9
|
Exclude default fields from YAML dumping. Add dumping unit tests.
|
2018-07-25 05:19:46 -07:00 |
nyanpasu64
|
a87642b38c
|
Rename register_dataclass to register_config
|
2018-07-25 05:19:45 -07:00 |
nyanpasu64
|
65655b2645
|
[wip] Make config classes dumpable via YAML, rename base configs
|
2018-07-25 05:19:45 -07:00 |