Skip to content

Commit dd212ed

Browse files
committed
silence ruff false positives
1 parent b0091b2 commit dd212ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/mudata/_core/mudata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,8 +657,8 @@ def calc_attrm_update():
657657
nonlocal index_order, can_update
658658
index_order = data_global.index.get_indexer(data_mod.index)
659659
can_update = (
660-
new_idx.shape[0] == 0 # filtered or reordered
661-
or kept_idx.shape[0] == data_global.shape[0] # new rows only
660+
new_idx.shape[0] == 0 # noqa: F821 filtered or reordered
661+
or kept_idx.shape[0] == data_global.shape[0] # noqa: F821 new rows only
662662
or data_mod.shape[0]
663663
== data_global.shape[
664664
0

0 commit comments

Comments
 (0)