ci: align backend lint checks
This commit is contained in:
@@ -57,7 +57,7 @@ def percentile(values: list[float], q: float) -> float:
|
||||
if not values:
|
||||
return 0.0
|
||||
s = sorted(values)
|
||||
idx = max(0, min(len(s) - 1, int(round((q / 100.0) * (len(s) - 1)))))
|
||||
idx = max(0, min(len(s) - 1, round((q / 100.0) * (len(s) - 1))))
|
||||
return s[idx]
|
||||
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ import random
|
||||
|
||||
from locust import HttpUser, between, task
|
||||
|
||||
|
||||
QUERIES = [
|
||||
"ГОСТ 21.501-93 рабочие чертежи",
|
||||
"класс бетона B25",
|
||||
|
||||
Reference in New Issue
Block a user