Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pytools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ def set_sum(set_iterable):
return reduce(or_, set_iterable, set())


def div_ceil(nr, dr):
def div_ceil(nr: int, dr: int):
return -(-nr // dr)


Expand Down
3 changes: 3 additions & 0 deletions pytools/obj_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ def __len__(self) -> int: ...
@property
def size(self) -> int: ...

@property
def T(self) -> Self: ... # noqa: N802

@overload
def __getitem__(self, x: ShapeT, /) -> T: ...

Expand Down
Loading