From 7795c37d89398e2f3a0916f040a8ca9b28541c2c Mon Sep 17 00:00:00 2001 From: MomIsBestFriend <> Date: Mon, 30 Mar 2020 16:07:46 +0300 Subject: [PATCH 1/2] CLN: Remove unused import --- pandas/_libs/reduction.pyx | 1 - 1 file changed, 1 deletion(-) diff --git a/pandas/_libs/reduction.pyx b/pandas/_libs/reduction.pyx index 29a5a73ef08d0..9f8579606014a 100644 --- a/pandas/_libs/reduction.pyx +++ b/pandas/_libs/reduction.pyx @@ -1,5 +1,4 @@ from copy import copy -from distutils.version import LooseVersion from cython import Py_ssize_t from cpython.ref cimport Py_INCREF From b6e4dfb656db1ca21d3ff3fd6d0b754a7d64f60e Mon Sep 17 00:00:00 2001 From: MomIsBestFriend <> Date: Mon, 30 Mar 2020 17:56:09 +0300 Subject: [PATCH 2/2] Removed `noqa` comment --- pandas/_libs/__init__.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pandas/_libs/__init__.py b/pandas/_libs/__init__.py index af67cb3be7102..141ca0645b906 100644 --- a/pandas/_libs/__init__.py +++ b/pandas/_libs/__init__.py @@ -1,6 +1,15 @@ -# flake8: noqa +__all__ = [ + "NaT", + "NaTType", + "OutOfBoundsDatetime", + "Period", + "Timedelta", + "Timestamp", + "iNaT", +] -from .tslibs import ( + +from pandas._libs.tslibs import ( NaT, NaTType, OutOfBoundsDatetime,