Skip to content

Commit 8027fd8

Browse files
committed
chore: blacken db_dtypes/core.py
1 parent c5b6937 commit 8027fd8

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

  • packages/db-dtypes/db_dtypes

packages/db-dtypes/db_dtypes/core.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,12 @@ def __init__(self, values, dtype=None, copy: bool = False):
6565
elif copy:
6666
values = values.copy()
6767

68-
# We must pass values and dtype to the base constructor.
69-
# Manual assignment (self._ndarray = values) will fail at runtime with
70-
# AttributeError because the base is a Cython-backed 'NDArrayBacked'
68+
# We must pass values and dtype to the base constructor.
69+
# Manual assignment (self._ndarray = values) will fail at runtime with
70+
# AttributeError because the base is a Cython-backed 'NDArrayBacked'
7171
# object with non-writable attributes.
7272
super().__init__(values=values, dtype=values.dtype) # type: ignore[call-arg]
7373

74-
7574
@classmethod
7675
def __ndarray(cls, scalars):
7776
return numpy.array(

0 commit comments

Comments
 (0)