Skip to content

Commit

Permalink
style: fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
k4black committed Nov 16, 2023
1 parent d95b1d1 commit dc7a016
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions codebleu/bleu.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@

"""BLEU score implementation."""
import math
import sys
import warnings
from collections import Counter
from typing import Any

from .utils import ngrams

Expand Down
3 changes: 0 additions & 3 deletions codebleu/weighted_ngram_match.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@
"""BLEU score implementation."""

import math
import sys
import warnings
from collections import Counter

from .bleu import modified_precision
from .utils import ngrams


Expand Down

0 comments on commit dc7a016

Please sign in to comment.