Miserlou/Zappa

Check Config Files for Allowed Values

Open

#1,165 创建于 2017年10月11日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (1,286 fork)batch import
hacktoberfesthelp wanted

仓库指标

Star
 (11,903 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南