[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a017802976
commit
9243567872
@ -785,4 +785,3 @@ def get_snapshots(snapshots, drop_leap_day=False, freq="h", **kwargs):
|
|||||||
time = time[~((time.month == 2) & (time.day == 29))]
|
time = time[~((time.month == 2) & (time.day == 29))]
|
||||||
|
|
||||||
return time
|
return time
|
||||||
|
|
||||||
|
@ -134,9 +134,11 @@ def get_cop(
|
|||||||
source_type=heat_source,
|
source_type=heat_source,
|
||||||
).approximate_cop()
|
).approximate_cop()
|
||||||
|
|
||||||
|
|
||||||
def get_country_from_node_name(node_name: str) -> str:
|
def get_country_from_node_name(node_name: str) -> str:
|
||||||
return node_name[:2]
|
return node_name[:2]
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
if "snakemake" not in globals():
|
if "snakemake" not in globals():
|
||||||
from _helpers import mock_snakemake
|
from _helpers import mock_snakemake
|
||||||
|
Loading…
Reference in New Issue
Block a user