Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbalin committed Jul 27, 2024
1 parent 18eecaf commit 13e9a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/dgl/graphbolt/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,9 @@ def __init__(self, indptr: torch.Tensor, indices: torch.Tensor):
def __repr__(self) -> str:
return _csc_format_base_str(self)

def to(
def to( # pylint: disable=invalid-name
self, device: torch.device, non_blocking=False
) -> None: # pylint: disable=invalid-name
) -> None:
"""Copy `CSCFormatBase` to the specified device using reflection."""

for attr in dir(self):
Expand Down

0 comments on commit 13e9a68

Please sign in to comment.