Updated ruff to the latest version (#31926)

* Updated ruff version and fixed the required code accorindg to the latest version.

* Updated ruff version and fixed the required code accorindg to the latest version.

* Added noqa directive to ignore 1 error shown by ruff
This commit is contained in:
Sai-Suraj-27
2024-07-23 20:37:31 +05:30
committed by GitHub
parent 9cf4f2aa9a
commit d2c687b3f1
14 changed files with 17 additions and 17 deletions

View File

@@ -157,7 +157,7 @@ _deps = [
"rhoknp>=1.1.0,<1.3.1",
"rjieba",
"rouge-score!=0.0.7,!=0.0.8,!=0.1,!=0.1.1",
"ruff==0.4.4",
"ruff==0.5.1",
"sacrebleu>=1.4.12,<2.0.0",
"sacremoses",
"safetensors>=0.4.1",