Skip to content

Fixed use of deprecated yamlfile argument to get_keywords()#494

Merged
jesper-friis merged 8 commits intomasterfrom
fix-deprecated-yamlfile
Feb 4, 2026
Merged

Fixed use of deprecated yamlfile argument to get_keywords()#494
jesper-friis merged 8 commits intomasterfrom
fix-deprecated-yamlfile

Conversation

@jesper-friis
Copy link
Contributor

@jesper-friis jesper-friis commented Jan 14, 2026

Description

Fixed use of deprecated yamlfile argument to get_keywords().

Note: The failing tests is because that we don't test deprecated functions (tests were updated to the new function). I think that this is fine.

Type of change

  • Bug fix and code cleanup
  • New feature
  • Documentation update
  • Testing

Checklist for the reviewer

This checklist should be used as a help for the reviewer.

  • Is the change limited to one issue?
  • Does this PR close the issue?
  • Is the code easy to read and understand?
  • Do all new feature have an accompanying new test?
  • Has the documentation been updated as necessary?
  • Is the code properly tested?

@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.71%. Comparing base (fdca56d) to head (8ab8fc0).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #494      +/-   ##
==========================================
- Coverage   84.75%   84.71%   -0.05%     
==========================================
  Files          30       30              
  Lines        4789     4789              
==========================================
- Hits         4059     4057       -2     
- Misses        730      732       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

)
kw6 = get_keywords(kw4)
kw6.load_yaml(testdir / "input" / "custom_keywords.yaml")
assert kw4.data.theme == ["ddoc:datadoc", "ddoc:prefixes", "ddoc:process"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
assert kw4.data.theme == ["ddoc:datadoc", "ddoc:prefixes", "ddoc:process"]
assert kw4.data.theme == ["ddoc:datadoc", "ddoc:prefixes", "ddoc:process"]
``
kw6?

Copy link
Contributor Author

@jesper-friis jesper-friis Feb 4, 2026

Choose a reason for hiding this comment

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

Corrected, thanks

@jesper-friis jesper-friis merged commit 342c440 into master Feb 4, 2026
21 of 22 checks passed
@jesper-friis jesper-friis deleted the fix-deprecated-yamlfile branch February 4, 2026 13:46
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.

2 participants