Skip to content

Commit

Permalink
LINT: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Jul 26, 2024
1 parent 7839a0b commit 1a3fd20
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion mizani/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,14 @@ def get_null_value(x: Any) -> NullType:
import pandas as pd

x0 = next(iter(x))
numeric_types: Sequence[type] = (np.int32, np.int64, np.float64, int, float, bool)
numeric_types: Sequence[type] = (
np.int32,
np.int64,
np.float64,
int,
float,
bool,
)

if pdtypes.is_object_dtype(x):
return None
Expand Down

0 comments on commit 1a3fd20

Please sign in to comment.