Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit b2b506c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c7d3690 commit b2b506c

29 files changed

+29
-29
lines changed

ocf_datapipes/batch/fake/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
""" init """
1+
"""init"""

ocf_datapipes/batch/fake/fake_batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Make fake batch """
1+
"""Make fake batch"""
22

33
from datetime import datetime, timezone
44
from typing import Optional, Union

ocf_datapipes/batch/fake/gsp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Make fake GSP data """
1+
"""Make fake GSP data"""
22

33
from datetime import datetime
44

ocf_datapipes/batch/fake/nwp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Make fake NWP data """
1+
"""Make fake NWP data"""
22

33
from datetime import datetime
44

ocf_datapipes/batch/fake/pv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Make fake PV data """
1+
"""Make fake PV data"""
22

33
from datetime import datetime
44

ocf_datapipes/batch/fake/satellite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Make fake Satellite data """
1+
"""Make fake Satellite data"""
22

33
from datetime import datetime
44

ocf_datapipes/batch/fake/sun.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Make fake Sun data """
1+
"""Make fake Sun data"""
22

33
import numpy as np
44

ocf_datapipes/batch/fake/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Utils Functions to for fake data """
1+
"""Utils Functions to for fake data"""
22

33
from datetime import timedelta
44

ocf_datapipes/config/load.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Loading configuration functions """
1+
"""Loading configuration functions"""
22

33
import logging
44
from typing import Union

ocf_datapipes/config/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Configuration model for the dataset.
1+
"""Configuration model for the dataset.
22
33
All paths must include the protocol prefix. For local files,
44
it's sufficient to just start with a '/'. For aws, start with 's3://',

ocf_datapipes/config/save.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Save functions for the configuration model"""
1+
"""Save functions for the configuration model"""
22

33
import json
44
import logging

ocf_datapipes/load/gsp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
""" Load GSP data from file or database """
1+
"""Load GSP data from file or database"""

ocf_datapipes/load/gsp/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Function to get data from live database """
1+
"""Function to get data from live database"""
22

33
import logging
44
import os

ocf_datapipes/load/gsp/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Utils for GSP loading"""
1+
"""Utils for GSP loading"""
22

33
from typing import Optional
44

ocf_datapipes/load/pv/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Data pipes and utils for getting PV data from database"""
1+
"""Data pipes and utils for getting PV data from database"""
22

33
import logging
44
import os

ocf_datapipes/load/pv/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Util functions for PV data source"""
1+
"""Util functions for PV data source"""
22

33
from typing import Optional
44

ocf_datapipes/load/wind/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Util functions for Wind data source"""
1+
"""Util functions for Wind data source"""
22

33
import numpy as np
44
import pandas as pd
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
""" PV xarray functions """
1+
"""PV xarray functions"""

ocf_datapipes/transform/xarray/pv/remove_pv_zero_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Remove PV data """
1+
"""Remove PV data"""
22

33
import logging
44
from datetime import timedelta

ocf_datapipes/utils/pvlive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Functions used to query the PVlive api """
1+
"""Functions used to query the PVlive api"""
22

33
import logging
44
from concurrent import futures

ocf_datapipes/utils/split/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
""" split functions """
1+
"""split functions"""

ocf_datapipes/utils/split/method.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Methods for splitting data into train, validation and test """
1+
"""Methods for splitting data into train, validation and test"""
22

33
from typing import List, Tuple
44

ocf_datapipes/utils/split/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Model for splitting data """
1+
"""Model for splitting data"""
22

33
from typing import List
44

ocf_datapipes/utils/split/split.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Function to split datasets up """
1+
"""Function to split datasets up"""
22

33
import logging
44
from collections import namedtuple

ocf_datapipes/visualisation/batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" The idea is visualise one of the batches
1+
"""The idea is visualise one of the batches
22
33
This is a bit of a work in progress, but the idea is to visualise the batch in a markdown file.
44
"""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Usual setup file for package """
1+
"""Usual setup file for package"""
22

33
# read the contents of your README file
44
from pathlib import Path

tests/load/gsp/test_gsp_live.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Test for loading pv data from database """
1+
"""Test for loading pv data from database"""
22

33
from datetime import datetime, timedelta, timezone
44

tests/load/pv/test_pv_database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Test for loading pv data from database """
1+
"""Test for loading pv data from database"""
22

33
from datetime import timedelta
44

tests/load/test_load_satellite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Loading satellite tests
1+
"""Loading satellite tests
22
33
1. Open HRV data
44
2. Open data

0 commit comments

Comments
 (0)