Repository navigation
Remove the dead pyrs-calibration-correlation script - #1154
Merged
Merged
Conversation
scripts/pyrs_calibration_correlation.py imports pyrs.calibration.correlation_calibration, which was deleted in 386a8ea (dead-code cleanup), so the pyrs-calibration-correlation console command failed with ImportError. Nothing else referred to the script. Remove it and its entry point. Assisted-by: Claude Code
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #1154 +/- ##
=======================================
Coverage 87.12% 87.12%
=======================================
Files 106 106
Lines 16655 16655
=======================================
Hits 14510 14510
Misses 2145 2145
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 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.
Summary
Removes
scripts/pyrs_calibration_correlation.pyand itspyrs-calibration-correlationconsole entry inpyproject.toml.The script imports
pyrs.calibration.correlation_calibration, which was deleted in 386a8ea ("inital commit of cleaning dead code"), so the installed command fails withImportErroronnext,qaandmain. Nothing else in the repository refers to the script or the module (checked withgit greponnextandmain, excludingpixi.lock).Testing
pixi run mypy pyrs scripts testsis clean after the removal (next: 280 files,main: 193 files;qahas the same tree asmain). No test, doc or workflow referenced the script.Same change on all three branches:
next,mainandqa.