Repository navigation
Avoid hard-coding number of skeleton files - #217
Merged
Merged
Conversation
The number had to be changed whenever a skeleton was added or removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checking that any skeletons are found is redundant with the fail_at_collect setting of pytest, and would miss the removal of a skeleton that the code uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #217 +/- ##
=======================================
Coverage 90.81% 90.81%
=======================================
Files 57 57
Lines 4344 4346 +2
Branches 432 432
=======================================
+ Hits 3945 3947 +2
Misses 329 329
Partials 70 70 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR replaces
test_skeletons_found, which checked the number of skeleton CDF files, with a test that each skeleton that the code uses exists. It also removes the task fromTODO.md.Motivation
The number had to be updated whenever a skeleton file was added or removed (#157).
Details
psp_l2_spcephem_v00,psp_l2_spcmago_v00, and the L2 skeletons for APIDs 254, 256, and 257) are not required to exist.empty_parameter_set_mark = "fail_at_collect"inpyproject.toml.nox -s tests-3.13 tests-3.14and linting. Only linting was run for the second commit, which addstest_required_skeleton_exists.🤖 Generated with Claude Code