Miserlou/Zappa

Check Config Files for Allowed Values

Open

#1165 aperta il 11 ott 2017

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Python (1286 fork)batch import
hacktoberfesthelp wanted

Metriche repository

Star
 (11.903 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Context

Was not seeing my remote environment variables because my config value was "remote_evn". Mistake on my part, but it would be nice if zappa checked config files to ensure that values being set were even values used by zappa.

Expected Behavior

When a user gives a config value not used by Zappa, it tells the user and suggests that it might be a typo. Just lowers the learning curve slightly and improves QOL.

Actual Behavior

Users are allowed to wallow in their mistakes

Possible Fix

Keep a white list of config keys and test against those.

Guida contributor