Skip to content

Commit

Permalink
style: ignore pylint warning
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Aug 9, 2024
1 parent ce5c0fd commit efc81aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/boost_histogram/_internal/hist.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,11 @@ def view(
return _to_view(self._hist.view(flow))

def __array__(
self, dtype: np.typing.DTypeLike | None = None, *, copy: bool | None = None
self,
dtype: np.typing.DTypeLike | None = None,
*,
# pylint: disable-next=redefined-outer-name
copy: bool | None = None,
) -> np.typing.NDArray[Any]:
# The copy kw is new in NumPy 2.0
kwargs = {}
Expand Down

0 comments on commit efc81aa

Please sign in to comment.