Skip to content

Expand hourly Energy-Charts zones onto the 15-minute grid (#107) #1454

Expand hourly Energy-Charts zones onto the 15-minute grid (#107)

Expand hourly Energy-Charts zones onto the 15-minute grid (#107) #1454

Workflow file for this run

name: Pylint
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install homeassistant
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Analysing production code with pylint
run: |
pylint custom_components/ge_spot/ --fail-under=7.0
- name: Analysing test code with pylint
run: |
pylint tests/ --fail-under=5.0