Skip to content

Commit 578fc66

Browse files
committed
Fix linter
1 parent cc626c4 commit 578fc66

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

era5cli/fetch.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,9 @@ def _build_request(self, variable, years, months=None):
468468
"month": self.months if months is None else months,
469469
"time": self.hours,
470470
"data_format": self.outputformat,
471-
"download_format": "unarchived" if self.outputformat.lower() == "netcdf" else "zip",
471+
"download_format": (
472+
"unarchived" if self.outputformat.lower() == "netcdf" else "zip"
473+
),
472474
}
473475

474476
if "pressure-levels" in name:

tests/test_integration.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def my_thing_mock():
8080
reanalysis-era5-land-monthly-means {'variable': 'snow_cover',
8181
'year': 2008, 'month': ['01', '02', '03', '04', '05', '06', '07',
8282
'08', '09', '10', '11', '12'], 'time': ['00:00'], 'data_format': 'netcdf',
83-
'download_format': 'unarchived', 'product_type': 'monthly_averaged_reanalysis'}
83+
'download_format': 'unarchived',
84+
'product_type': 'monthly_averaged_reanalysis'}
8485
era5-land_snow_cover_2008_monthly.nc"""
8586
),
8687
},

0 commit comments

Comments
 (0)