Skip to content

Commit 7eea4bb

Browse files
committed
Further linting
1 parent e74b06b commit 7eea4bb

File tree

3 files changed

+31
-27
lines changed

3 files changed

+31
-27
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ repos:
5959
additional_dependencies:
6060
- pytest
6161
- "attrs>=21.2.0"
62-
- "numpy>=2.0"
62+
- "numpy>=2.2.1"
6363
- "ruamel.yaml>=0.17.10"
6464
- "boost-histogram>=1.4"
6565
- "hist>=2.7.1"

pdm.lock

Lines changed: 28 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/pachyderm/binned_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,8 +1141,8 @@ def to_boost_histogram(self) -> Any:
11411141
# Need to shape the array properly so that it will actually be able to assign to the boost histogram.
11421142
arr = np.zeros(shape=h.view().shape, dtype=h.view().dtype)
11431143
# NOTE: We're relying on the h.view() supporting structured arrays. Surprisingly, this seems to work.
1144-
arr["value"] = self.values
1145-
arr["variance"] = self.variances
1144+
arr["value"] = self.values # type: ignore[call-overload]
1145+
arr["variance"] = self.variances # type: ignore[call-overload]
11461146
h[...] = arr
11471147

11481148
return h

0 commit comments

Comments
 (0)