Skip to content

Commit f145ff8

Browse files
author
BeckebanzeF1
committed
Changes related to new version of black (24.3.0). Changes are in files that are not related to the functionality added with this PR.
1 parent 8984f0b commit f145ff8

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

pymrio/tools/ioparser.py

+12-10
Original file line numberDiff line numberDiff line change
@@ -1871,16 +1871,18 @@ def parse_eora26(path, year=None, price="bp", country_names="eora"):
18711871
)
18721872

18731873
eora_data = {
1874-
key: pd.read_csv(
1875-
zip_file.open(filename),
1876-
sep=eora_sep,
1877-
header=None,
1878-
)
1879-
if filename in zip_file.namelist()
1880-
else pd.read_csv(
1881-
indices_file.open(filename),
1882-
sep=eora_sep,
1883-
header=None,
1874+
key: (
1875+
pd.read_csv(
1876+
zip_file.open(filename),
1877+
sep=eora_sep,
1878+
header=None,
1879+
)
1880+
if filename in zip_file.namelist()
1881+
else pd.read_csv(
1882+
indices_file.open(filename),
1883+
sep=eora_sep,
1884+
header=None,
1885+
)
18841886
)
18851887
for key, filename in eora_files.items()
18861888
}

pymrio/tools/ioutil.py

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
KST 20140502
55
"""
6+
67
import json
78
import logging
89
import os

tests/test_outputs.py

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
1515
"""
1616

17-
1817
import os
1918
import sys
2019

0 commit comments

Comments
 (0)