Commit Graph

6 Commits

Author SHA1 Message Date
Jason Robinson ff008a6aac
Allow config items to really be required=False (#20)
In the case of `required or not default` with default defaulting to `None` it's impossible to have a `required=False` config item, without supplying a default

To make `required=False` actually mean "you don't need to specify this at all", it needs to be `required and not default` when checking if we should raise `ConfigError`.
2020-12-14 22:27:58 +00:00
Andrew Morgan b8c41a5377 lint 2020-08-16 17:00:55 +01:00
Andrew Morgan 95aa7943c1 Fix store and database config option names 2020-08-16 16:17:57 +01:00
Andrew Morgan ec25fead72 Add support for postgres as a db backend 2020-08-16 15:51:59 +01:00
Andrew Morgan af22f00868 Lint and add lint.sh dev script 2020-08-09 15:02:07 -07:00
Andrew Morgan 232258e8a0 Move files under module dir 2020-08-09 14:33:57 -07:00
Renamed from config.py (Browse further)