Skip to content

Check config files for unrecognized keys#88

Merged
ressy merged 6 commits intodevfrom
for-58-check-config
Nov 12, 2022
Merged

Check config files for unrecognized keys#88
ressy merged 6 commits intodevfrom
for-58-check-config

Conversation

@ressy
Copy link
Member

@ressy ressy commented Nov 12, 2022

Adds a check in load_config for any keys that are not present in config.defaults, and throws a warning about any unrecognized keys found. This should help reduce confusion by catching typos or incorrectly-structured config files. Fixes #58.

@ressy ressy merged commit 8ca84fc into dev Nov 12, 2022
@ressy ressy deleted the for-58-check-config branch November 12, 2022 17:48
@ressy ressy mentioned this pull request Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

load_config should check for names not present in config.default

1 participant