Skip to content

Commit 63b6689

Browse files
committed
Fix linter
1 parent 64f31a6 commit 63b6689

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pvlib/iotools/pvgis.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@ def _parse_pvgis_hourly_csv(src, map_variables):
264264
# Elevation (m): 1389.0\r\n
265265
metadata['inputs']['elevation'] = float(src.readline().split(':')[1])
266266
# 'Radiation database: \tPVGIS-SARAH\r\n'
267-
metadata['inputs']['radiation_database'] = src.readline().split(':')[1].strip()
267+
metadata['inputs']['radiation_database'] = \
268+
src.readline().split(':')[1].strip()
268269
# Parse through the remaining metadata section (the number of lines for
269270
# this section depends on the requested parameters)
270271
while True:
@@ -300,7 +301,8 @@ def _parse_pvgis_hourly_csv(src, map_variables):
300301
metadata['descriptions'] = {}
301302
for line in src.readlines():
302303
if ':' in line:
303-
metadata['descriptions'][line.split(':')[0]] = line.split(':')[1].strip()
304+
metadata['descriptions'][line.split(':')[0]] = \
305+
line.split(':')[1].strip()
304306
return data, metadata
305307

306308

0 commit comments

Comments
 (0)