Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 20, 2025
1 parent 70a20d0 commit 3694eeb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion compliance_checker/cf/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,9 @@ def get_possible_label_variable_dimensions(variable: Variable) -> Tuple[int, ...

@lru_cache
def maybe_lateral_reference_variable_or_dimension(
group: Union[Group, Dataset], name: str, reference_type: Union[Variable, Dimension],
group: Union[Group, Dataset],
name: str,
reference_type: Union[Variable, Dimension],
):

def can_lateral_search(name):
Expand Down
11 changes: 9 additions & 2 deletions compliance_checker/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,18 @@ def stdout_output(cls, cs, score_dict, verbose, limit):
for ds, score_groups in score_dict.items():
for checker, (groups, errors) in score_groups.items():
score_list, points, out_of = cs.standard_output(
ds, limit, checker, groups,
ds,
limit,
checker,
groups,
)
# send list of grouped result objects to stdout & reasoning_routine
cs.standard_output_generation(
groups, limit, points, out_of, check=checker,
groups,
limit,
points,
out_of,
check=checker,
)
return groups

Expand Down

0 comments on commit 3694eeb

Please sign in to comment.