File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11repos :
22- repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v4.6 .0
3+ rev : v6.0 .0
44 hooks :
55 - id : trailing-whitespace
66 exclude : |
1212 - id : check-yaml
1313 - id : check-added-large-files
1414- repo : https://github.com/astral-sh/ruff-pre-commit
15- rev : v0.5.1
15+ rev : v0.14.0
1616 hooks :
17- - id : ruff
17+ - id : ruff-check
1818 args : [--fix, --show-fixes, --exit-non-zero-on-fix]
1919 - id : ruff-format
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def max_sum_distance(
3131 List[Tuple[str, float]]: The selected keywords/keyphrases with their distances
3232 """
3333 if nr_candidates < top_n :
34- raise Exception ("Make sure that the number of candidates exceeds the number " " of keywords to return." )
34+ raise Exception ("Make sure that the number of candidates exceeds the number of keywords to return." )
3535 elif top_n > len (words ):
3636 return []
3737
You can’t perform that action at this time.
0 commit comments