Skip to content

Commit 632de71

Browse files
committed
CLN: Make tseries/common.py flake8-able
1 parent 37c4ee2 commit 632de71

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pandas/tseries/common.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import numpy as np
66

7-
from pandas.types.common import (_NS_DTYPE, _TD_DTYPE,
7+
from pandas.types.common import (_NS_DTYPE, _TD_DTYPE, # noqa
88
is_period_arraylike,
99
is_datetime_arraylike, is_integer_dtype,
1010
is_datetime64_dtype, is_datetime64tz_dtype,
@@ -13,7 +13,7 @@
1313

1414
from pandas.core.base import PandasDelegate, NoNewAttributesMixin
1515
from pandas.tseries.index import DatetimeIndex
16-
from pandas._libs.period import IncompatibleFrequency # flake8: noqa
16+
from pandas._libs.period import IncompatibleFrequency # noqa
1717
from pandas.tseries.period import PeriodIndex
1818
from pandas.tseries.tdi import TimedeltaIndex
1919
from pandas.core.algorithms import take_1d
@@ -162,6 +162,7 @@ class DatetimeProperties(Properties):
162162
def to_pydatetime(self):
163163
return self.values.to_pydatetime()
164164

165+
165166
DatetimeProperties._add_delegate_accessors(
166167
delegate=DatetimeIndex,
167168
accessors=DatetimeIndex._datetimelike_ops,
@@ -201,6 +202,7 @@ def components(self):
201202
"""
202203
return self.values.components.set_index(self.index)
203204

205+
204206
TimedeltaProperties._add_delegate_accessors(
205207
delegate=TimedeltaIndex,
206208
accessors=TimedeltaIndex._datetimelike_ops,
@@ -225,6 +227,7 @@ class PeriodProperties(Properties):
225227
Raises TypeError if the Series does not contain datetimelike values.
226228
"""
227229

230+
228231
PeriodProperties._add_delegate_accessors(
229232
delegate=PeriodIndex,
230233
accessors=PeriodIndex._datetimelike_ops,

0 commit comments

Comments
 (0)