ci : bump ty to 0.0.88 (#30587)

* bump ty to 0.0.88

* arange -> linspace.tolist() to pass expected type
This commit is contained in:
Sigbjørn Skjæret authored and GitHub committed 2026-10-15 14:15:55 +02:00
1 parent fd55cb98fe
commit 711780ffc7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
uses: actions/setup-python@v6
with:
python-version: "3.11"
pip-install: -r requirements/requirements-all.txt ty==0.0.84
pip-install: -r requirements/requirements-all.txt ty==0.0.88
# - name: Type-check with Pyright
# uses: jakebailey/pyright-action@v2
# with:
+1 -1
View File
@@ -264,7 +264,7 @@ def benchmark(
bin_max = np.ceil(token_t_last) + 1
plt.figure()
plt.hist(token_t, np.arange(0, bin_max))
plt.hist(token_t, np.linspace(0, bin_max, bin_max, endpoint=False).tolist())
plt.xlim(0, bin_max + 1)
plt.title(name or "")
plt.xlabel("Time [s]")