Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check config files for unrecognized keys #88

Merged
merged 6 commits into from Nov 12, 2022
Merged

Check config files for unrecognized keys #88

merged 6 commits into from Nov 12, 2022

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