Skip to content

Commit

Permalink
STY: More pep8 fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
zssherman committed Feb 13, 2024
1 parent f9711c0 commit 630541f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion act/io/hysplit.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def read_hysplit(filename, base_year=2000):
var_list.append(variable)

input_df = pd.read_csv(
filename, sep='\s+', index_col=False, names=var_list, skiprows=12
filename, sep=r'\s+', index_col=False, names=var_list, skiprows=12
) # noqa W605
input_df['year'] = base_year + input_df['year']
input_df['time'] = pd.to_datetime(
Expand Down
2 changes: 1 addition & 1 deletion act/utils/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def change_units(
skip_variables=None,
skip_standard=True,
verbose=False,
raise_error=False
raise_error=False,
):
"""
Parameters
Expand Down
1 change: 1 addition & 0 deletions tests/plotting/test_geodisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

try:
import cartopy # noqa

CARTOPY_AVAILABLE = True
except ImportError:
CARTOPY_AVAILABLE = False
Expand Down
1 change: 1 addition & 0 deletions tests/plotting/test_xsectiondisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

try:
import cartopy # noqa

CARTOPY_AVAILABLE = True
except ImportError:
CARTOPY_AVAILABLE = False
Expand Down
1 change: 1 addition & 0 deletions tests/qc/test_qcfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

try:
import scikit_posthocs # noqa

SCIKIT_POSTHOCS_AVAILABLE = True
except ImportError:
SCIKIT_POSTHOCS_AVAILABLE = False
Expand Down
1 change: 1 addition & 0 deletions tests/retrievals/test_sp2_retrievals.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

try:
import pysp2 # noqa

PYSP2_AVAILABLE = True
except ImportError:
PYSP2_AVAILABLE = False
Expand Down
1 change: 1 addition & 0 deletions tests/utils/test_io_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

try:
import moviepy.video.io.ImageSequenceClip # noqa

MOVIEPY_AVAILABLE = True
except ImportError:
MOVIEPY_AVAILABLE = False
Expand Down

0 comments on commit 630541f

Please sign in to comment.