Skip to content

Commit 4207ad1

Browse files
committed
copilot
1 parent 303dc9f commit 4207ad1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/dl_formula/dl_formula/mutation/lookup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ def make_replacement(
208208
err_node = _get_arg_error_node(old)
209209
if err_node is not None:
210210
return err_node
211-
if id_errors := old.ignore_dimensions.list_node_type(aux_nodes.ErrorNode):
212-
return id_errors[0]
211+
if ignore_dim_errors := old.ignore_dimensions.list_node_type(aux_nodes.ErrorNode):
212+
return ignore_dim_errors[0]
213213

214214
mutator = LOOKUP_MUTATOR_REGISTRY[func_name]
215215

lib/dl_formula/dl_formula/validation/bfb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
@attr.s
1616
class BFBChecker(Checker):
17-
_field_ids: Collection[str] = attr.ib(factory=frozenset)
17+
_field_ids: Collection[str] = attr.ib(factory=frozenset, kw_only=True)
1818

1919
def perform_node_check(
2020
self,

0 commit comments

Comments
 (0)