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

Fix configuration examples #178

Merged
merged 2 commits into from
May 22, 2024

Conversation

MarkPaulin
Copy link
Contributor

Configuration python examples use yaml.load(), which is deprecated, and sys.argv < 2 will throw an error. I've updated to use yaml.safe_load() and fix the argument check to len(sys.argv) < 2.

Closes #164

@gisellerosetta gisellerosetta self-requested a review May 22, 2024 09:33
Copy link
Contributor

@gisellerosetta gisellerosetta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good (including a link yaml.load() depreciation) and corrects an error.

Thanks for the contribution @MarkPaulin !

@sarahcollyer sarahcollyer merged commit f585104 into best-practice-and-impact:main May 22, 2024
1 check passed
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.

Update configuration code examples
3 participants