Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 29, 2024
1 parent 6ed0bdc commit 0e8107d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sparse/pydata_backend/_compressed/compressed.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,7 @@ class CSR(_Compressed2d):
Sparse supports 2-D CSR.
"""

class_compressed_axes: tuple[int] = (0,)

def __init__(self, arg, shape=None, compressed_axes=class_compressed_axes, prune=False, fill_value=0):
Expand Down Expand Up @@ -891,6 +892,7 @@ class CSC(_Compressed2d):
Sparse supports 2-D CSC.
"""

class_compressed_axes: tuple[int] = (1,)

def __init__(self, arg, shape=None, compressed_axes=class_compressed_axes, prune=False, fill_value=0):
Expand Down

0 comments on commit 0e8107d

Please sign in to comment.