Skip to content

Commit

Permalink
pep8 [skip appveyor]
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Dec 3, 2018
1 parent 0e987af commit e995d44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sciencedates/__init__.py
Expand Up @@ -38,7 +38,7 @@ def datetime2yeardoy(time: Union[str, datetime.datetime]) -> Tuple[int, float]:


def yeardoy2datetime(yeardate: int,
utsec: Union[float, int]=None) -> datetime.datetime:
utsec: Union[float, int] = None) -> datetime.datetime:
"""
Inputs:
yd: yyyyddd four digit year, 3 digit day of year (INTEGER 7 digits)
Expand Down Expand Up @@ -94,7 +94,7 @@ def date2doy(time: Union[str, datetime.datetime]) -> Tuple[int, int]:


def datetime2gtd(time: Union[str, datetime.datetime, np.datetime64],
glon: Union[float, List[float], np.ndarray]=np.nan) -> Tuple[int, float, float]:
glon: Union[float, List[float], np.ndarray] = np.nan) -> Tuple[int, float, float]:
"""
Inputs:
time: Numpy 1-D array of datetime.datetime OR string for dateutil.parser.parse
Expand Down
2 changes: 1 addition & 1 deletion sciencedates/ticks.py
Expand Up @@ -6,7 +6,7 @@
from matplotlib.dates import MinuteLocator, SecondLocator


def tickfix(t, fg, ax, tfmt: str='%H:%M:%S'):
def tickfix(t, fg, ax, tfmt: str = '%H:%M:%S'):
majtick, mintick = timeticks(t[-1] - t[0])
if majtick:
ax.xaxis.set_major_locator(majtick)
Expand Down

0 comments on commit e995d44

Please sign in to comment.