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

Use yaml.safe_dump or NumpyToNativeDumper #1630

Merged
merged 1 commit into from
Dec 2, 2023
Merged

Use yaml.safe_dump or NumpyToNativeDumper #1630

merged 1 commit into from
Dec 2, 2023

Conversation

psavery
Copy link
Collaborator

@psavery psavery commented Nov 29, 2023

We want to make sure that we write out safe yaml files (that don't require an unsafe_load to load them). So always use yaml.safe_dump() or the NumpyToNativeDumper in HEXRD.

Fixes: #1629

We want to make sure that we write out safe yaml files (that don't require
an unsafe_load to load them). So always use `yaml.safe_dump()` or the
`NumpyToNativeDumper` in HEXRD.

Signed-off-by: Patrick Avery <[email protected]>
Copy link
Collaborator

@bnmajor bnmajor left a comment

Choose a reason for hiding this comment

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

🦺

@psavery psavery merged commit 56529c6 into master Dec 2, 2023
9 checks passed
@psavery psavery deleted the yaml-safe-dump branch December 2, 2023 11:32
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.

Ensure we only perform safe dumps when writing yaml output
2 participants