Repository navigation
fix: rename misspelled instace_exists and KernelDensityEstimationForEmtpyArrayWarning - #420
Merged
paulmueller merged 1 commit intoNov 19, 2026
Conversation
…ityEstimationForEmtpyArrayWarning` The old names are kept as deprecated aliases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
paulmueller-agent
force-pushed
the
fix/rename-misspelled-names
branch
from
November 19, 2026 09:16
ee7a06e to
5dbb7a4
Compare
paulmueller
approved these changes
Nov 19, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #420 +/- ##
==========================================
+ Coverage 93.00% 93.02% +0.01%
==========================================
Files 124 124
Lines 9727 9736 +9
==========================================
+ Hits 9047 9057 +10
+ Misses 680 679 -1 ☔ 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.
Renames two misspelled public names and keeps the old names as deprecated aliases:
PolygonFilter.instace_exists→PolygonFilter.instance_exists;instace_existsissues aDeprecationWarningand callsinstance_exists.dclab.kde.binning.KernelDensityEstimationForEmtpyArrayWarning→KernelDensityEstimationForEmptyArrayWarning; accessing the old name issues aDeprecationWarning(module-level__getattr__) and returns the new class, soexcept/pytest.warnswith the old name still catch the warning.Tests:
test_kde.pyuses the new name; new teststest_kde_empty_array_warning_deprecated_aliasandtest_instance_exists.🤖 Generated with Claude Code