Refactor non-standard object identity test#996
Conversation
|
If you think this should be fixed, then there are plenty of other places where this is done: |
Ah okay, I see now yes. I personally think |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #996 +/- ##
=======================================
Coverage 86.64% 86.64%
=======================================
Files 414 414
Lines 54741 54741
=======================================
Hits 47430 47430
Misses 7311 7311 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
yeah, it would make sense to catch them all, while at it. Also, I wouldn't call it a fix, but a refactor/maintenance. So your changes should be named |
|
I have used I also checked after the replacement with your suggested Finally I also updated the PR title and the news fragment to call this a refactor instead of a fix. |
|
thank! |
SparseOrbital.iter_nnz#995changes/996.dev.rstIt also refactors all other occurrences of
not [object_name] is Noneto[object_name] is not None.