drewwalters96 / subber

A web-based application that allows active reddit users to discover subreddits based on post history and subscription data.
GNU General Public License v3.0
5 stars 3 forks source link

Validate type and field length in config.py #45

Closed danieledwardknudsen closed 6 years ago

danieledwardknudsen commented 6 years ago

Feature request (please include as much detail as possible):

Refactor config.py to include records of the type or required field length of a config field, and then validate that the fields parsed from the config conform to the constraints. Because not all config fields are used on startup, this would prevent runtime type errors later on.

drewwalters96 commented 6 years ago

This is a good response to the difficulties experienced in #43.