Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jkawamoto committed Jul 16, 2024
1 parent 163b594 commit a069f94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sacrebleu/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ def print_subset_results(metrics, full_system, full_refs, args):

key = f'origlang={origlang}'
if subset is None:
key += f' domain=ALL'
key += ' domain=ALL'
elif subset.startswith('country:'):
key += f' country={subset[8:]}'
else:
Expand All @@ -630,4 +630,4 @@ def print_subset_results(metrics, full_system, full_refs, args):
print(f'{key}: sentences={n_system:<6} {score.name:<{max_metric_width}} = {score.score:.{w}f}')

# import at the end to avoid circular import
from .dataset import DATASETS, SUBSETS, DOMAINS, COUNTRIES # noqa: E402
from .dataset import DATASETS, SUBSETS # noqa: E402

0 comments on commit a069f94

Please sign in to comment.