Skip to content

Commit c777141

Browse files
committed
updates linting
1 parent 7585a86 commit c777141

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

db_dtypes/pandas_backports.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,16 @@ def _cmp_method(self, other, op): # pragma: NO COVER
7979
return NotImplemented
8080

8181

82-
# TODO: use public API once NDArrayBackedExtensionArray is added to the
82+
# TODO: use public API once NDArrayBackedExtensionArray is added to the
8383
# pandas.
8484
# See: https://github.com/pandas-dev/pandas/pull/45544
8585
# Also: Right now none of this is tested in test_pandas_backports.
86-
# Temporarily marking this as # pragma: NO COVER just to see how this
86+
# Temporarily marking this as # pragma: NO COVER just to see how this
8787
# affects unittest coverage
8888
@import_default("pandas.core.arrays._mixins")
89-
class NDArrayBackedExtensionArray(pandas.core.arrays.base.ExtensionArray): # pragma: NO COVER
89+
class NDArrayBackedExtensionArray(
90+
pandas.core.arrays.base.ExtensionArray
91+
): # pragma: NO COVER
9092
def __init__(self, values, dtype):
9193
assert isinstance(values, numpy.ndarray)
9294
self._ndarray = values

tests/unit/test_json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,4 +299,4 @@ def test_json_arrow_type_reregistration_is_handled(cleanup_json_module_for_reloa
299299

300300
import db_dtypes.json # noqa: F401
301301

302-
assert True, "Module re-import completed without error, except block likely worked."
302+
assert True, "Module re-import completed without error, except block likely worked."

0 commit comments

Comments
 (0)