Skip to content

Commit f343a0c

Browse files
Merge pull request #83 from openclimatefix/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 9eda0c8 + 84a8193 commit f343a0c

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ repos:
4545
- id: isort
4646
args: [--profile, black, --line-length, "100", "nowcasting_datamodel"]
4747
- repo: https://github.com/psf/black
48-
rev: 22.3.0
48+
rev: 22.6.0
4949
hooks:
5050
- id: black
5151
args: [--line-length, "100"]

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)