From 1a3fd20bc2c7e0aa5a78db6e55fe4c7bcf5afba1 Mon Sep 17 00:00:00 2001 From: Hassan Kibirige Date: Fri, 26 Jul 2024 23:35:51 +0300 Subject: [PATCH] LINT: lint --- mizani/utils.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mizani/utils.py b/mizani/utils.py index 39a8a86..e9c707b 100644 --- a/mizani/utils.py +++ b/mizani/utils.py @@ -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