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 Feb 10, 2025
1 parent e7384e4 commit 27a710c
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 10 deletions.
3 changes: 2 additions & 1 deletion pvconsumer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
""" Pv Consumer"""
"""Pv Consumer"""

__version__ = "2.1.1"
2 changes: 1 addition & 1 deletion pvconsumer/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Application for getting live pv data
"""Application for getting live pv data
1. Load Pv system ids from local csv file
2. For each site, find the most recent data in a database
Expand Down
3 changes: 2 additions & 1 deletion pvconsumer/pv_systems.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" PV system functions """
"""PV system functions"""

import logging
import os
from datetime import datetime, timedelta
Expand Down
3 changes: 2 additions & 1 deletion pvconsumer/save.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Save to database functions"""
"""Save to database functions"""

import logging

import pandas as pd
Expand Down
3 changes: 1 addition & 2 deletions pvconsumer/solar_sheffield_passiv.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" Function to get data from Solar Shieffield about Pasiv systems"""

"""Function to get data from Solar Shieffield about Pasiv systems"""

import logging
import os
Expand Down
3 changes: 2 additions & 1 deletion pvconsumer/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Utils functions """
"""Utils functions"""

import logging
from datetime import datetime, timedelta, timezone

Expand Down
2 changes: 1 addition & 1 deletion scripts/get_pv_systems.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Get list of pv systems data for live
"""Get list of pv systems data for live
1. load data from gcp
2. save systems ids to a txt file
Expand Down
2 changes: 1 addition & 1 deletion scripts/make_data_ss_file.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Make Solar shieffled passiv data file"""
"""Make Solar shieffled passiv data file"""

from pvconsumer.solar_sheffield_passiv import get_all_latest_pv_yield_from_solar_sheffield

Expand Down
2 changes: 1 addition & 1 deletion scripts/update_tilt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" We noticed that for lots of the passive sites, the tilt was wrong in the database."""
"""We noticed that for lots of the passive sites, the tilt was wrong in the database."""

import os

Expand Down

0 comments on commit 27a710c

Please sign in to comment.