Skip to content

Remove 'unsafe' loader type from YAML in DftSet to avoid PendingDepre…#19

Open
cogsworth37 wants to merge 1 commit intomaterialsproject:mainfrom
cogsworth37:fix/4444-yaml-unsafe-pending-deprecation-warning
Open

Remove 'unsafe' loader type from YAML in DftSet to avoid PendingDepre…#19
cogsworth37 wants to merge 1 commit intomaterialsproject:mainfrom
cogsworth37:fix/4444-yaml-unsafe-pending-deprecation-warning

Conversation

@cogsworth37
Copy link
Copy Markdown

…cationWarning

Summary

Major changes:

fixes materialsproject/pymatgen#4444

Checklist

  • Google format doc strings added. Check with ruff.
  • Type annotations included. Check with mypy.
  • Tests added for new features/fixes.
  • If applicable, new classes/functions/modules have duecredit @due.dcite decorators to reference relevant papers by DOI (example)

Tip: Install pre-commit hooks to auto-check types and linting before every commit:

pip install -U pre-commit
pre-commit install

@cogsworth37 cogsworth37 marked this pull request as ready for review April 8, 2026 01:49
@cogsworth37 cogsworth37 requested a review from shyuep as a code owner April 8, 2026 01:49
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.

PendingDeprecationWarning for YAML(typ="unsafe", pure=True) in io.cp2k.sets

1 participant