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 Mar 6, 2023
1 parent b4a8d70 commit 62dcb73
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
name: Run tests
runs-on: ubuntu-latest
steps:

- name: Check out the repo
uses: actions/checkout@v2
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"
cache: poetry

- name: Install python dependencies
Expand All @@ -38,6 +38,5 @@ jobs:
SS_URL: ${{ secrets.SS_URL }}
SS_USER_ID: ${{ secrets.SYSTEMSS_USER_ID_ID }}


- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
3 changes: 0 additions & 3 deletions scripts/get_installed_capacity.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
import json

import boto3
import fsspec
import pandas as pd
import xarray
import xarray as xr
from nowcasting_datamodel.connection import DatabaseConnection
Expand Down Expand Up @@ -39,7 +37,6 @@
# get pv systems from database and update
connection = DatabaseConnection(url=db_url, base=Base_PV, echo=True)
with connection.get_session() as session:

pv_systems = session.query(PVSystemSQL).all()

for pv_system in pv_systems:
Expand Down
3 changes: 1 addition & 2 deletions tests/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ To run the intergration tests you will need to set the following variables
- SYSTEM_ID: system id for pvoutput.org
- DATA_SERVICE_URL: the URL for the pvoutput.org data service

TODO we should mock some of the APIs to and then more unittests can be run with out the real connection details.

TODO we should mock some of the APIs to and then more unittests can be run with out the real connection details.

0 comments on commit 62dcb73

Please sign in to comment.