Skip to content

Commit 84a8193

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

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

nowcasting_datamodel/models/pv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def to_orm(self) -> PVSystemSQL:
8585
orientation=self.orientation,
8686
status_interval_minutes=self.status_interval_minutes,
8787
correct_data=self.correct_data,
88-
installed_capacity_kw=self.installed_capacity_kw
88+
installed_capacity_kw=self.installed_capacity_kw,
8989
)
9090

9191

tests/read/test_read_pv.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
import logging
22
from datetime import datetime
33

4-
from nowcasting_datamodel.models import PVSystem, PVSystemSQL, PVYield, pv_output, solar_sheffield_passiv
4+
from nowcasting_datamodel.models import (
5+
PVSystem,
6+
PVSystemSQL,
7+
PVYield,
8+
pv_output,
9+
solar_sheffield_passiv,
10+
)
511
from nowcasting_datamodel.read.read_pv import get_latest_pv_yield, get_pv_systems, get_pv_yield
612
from nowcasting_datamodel.save import save_pv_system
713

0 commit comments

Comments
 (0)