Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 5, 2024
1 parent 577faca commit 46d798d
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions gspconsumer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
""" Pv Consumer"""

__version__ = "1.1.16"
1 change: 1 addition & 0 deletions gspconsumer/gsps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" GSP functions """

import logging
from datetime import datetime, timedelta, timezone
from typing import List, Optional
Expand Down
1 change: 1 addition & 0 deletions gspconsumer/time.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Time helper functions """

import logging
from datetime import datetime, timezone

Expand Down
1 change: 0 additions & 1 deletion scripts/gsp_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
4. update database
"""


import json
from datetime import datetime, timezone

Expand Down
1 change: 1 addition & 0 deletions scripts/gsp_name_update/merge_labels.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Merge labels """

# import the files

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions scripts/gsp_name_update/new_labels.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" New lables for gsps """

# get the
# or load file using [this](https://www.geeksforgeeks.org/read-json-file-using-python/)

Expand Down
1 change: 0 additions & 1 deletion scripts/gsp_name_update/update_region_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
2. update database
"""


import json
import os.path

Expand Down
1 change: 1 addition & 0 deletions scripts/v3_to_v4/data/get_data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Get GSP regions from National Grid API"""

from urllib.request import urlopen

import geopandas as gpd
Expand Down
1 change: 1 addition & 0 deletions scripts/v3_to_v4/update_installed_capacity.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
We now do this in the app, so we dont need to run this anymore
"""

import json
import os

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Setup file for gspconsumer package."""

from pathlib import Path

from setuptools import find_packages, setup
Expand Down

0 comments on commit 46d798d

Please sign in to comment.