Closed facundoolano closed 6 years ago
I agree with using something better than manually handling a custom configuration file. However, if think json configs are not standard on python. Let's check it. I would use a yaml config file.
As discussed, I used 'conf.yml' file with following format:
slack:
webhook: INSERT WEBHOOK URL HERE
channel: general
dollar:
threshold: 0.5
Manually handling a
\n
separated configuration file is not very convenient, and it's hard to tell what each configuration value is. Considering you're also using json in your code, a good option would be to use a json object for configuration: