[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-08-13 15:08:47 +00:00
parent a017802976
commit 9243567872
2 changed files with 2 additions and 1 deletions

View File

@ -785,4 +785,3 @@ def get_snapshots(snapshots, drop_leap_day=False, freq="h", **kwargs):
time = time[~((time.month == 2) & (time.day == 29))]
return time

View File

@ -134,9 +134,11 @@ def get_cop(
source_type=heat_source,
).approximate_cop()
def get_country_from_node_name(node_name: str) -> str:
return node_name[:2]
if __name__ == "__main__":
if "snakemake" not in globals():
from _helpers import mock_snakemake