Skip to content

Commit

Permalink
Fix black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
golles committed Feb 9, 2024
1 parent 2024541 commit 4a0bad7
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/kamstrup_403/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
For more details about this integration, please refer to
https://github.com/custom-components/kamstrup_403
"""

from datetime import timedelta
import logging

Expand Down
1 change: 1 addition & 0 deletions custom_components/kamstrup_403/config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Adds config flow for Kamstrup 403."""

import logging

from homeassistant import config_entries
Expand Down
1 change: 1 addition & 0 deletions custom_components/kamstrup_403/coordinator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""DataUpdateCoordinator for kamstrup_403."""

import logging
from typing import Any, List

Expand Down
1 change: 1 addition & 0 deletions custom_components/kamstrup_403/sensor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Sensor platform for kamstrup_403."""

from datetime import datetime

from homeassistant.components.sensor import (
Expand Down
1 change: 1 addition & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for kamstrup_403 integration."""

from homeassistant.core import HomeAssistant
from homeassistant.setup import async_setup_component
from pytest_homeassistant_custom_component.common import MockConfigEntry
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Global fixtures for kamstrup_403 integration."""

# Fixtures allow you to replace functions with a Mock object. You can perform
# many options via the Mock to reflect a particular behavior from the original
# function that you want to see without going through the function's actual logic.
Expand Down
1 change: 1 addition & 0 deletions tests/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Constants for kamstrup_403 tests."""

from homeassistant.const import CONF_PORT, CONF_SCAN_INTERVAL, CONF_TIMEOUT

# Mock config data to be used across multiple tests
Expand Down
1 change: 1 addition & 0 deletions tests/test_config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test kamstrup_403 config flow."""

from unittest.mock import patch

from homeassistant import config_entries, data_entry_flow
Expand Down
1 change: 1 addition & 0 deletions tests/test_coordinator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for kamstrup_403 coordinator."""

from homeassistant.core import HomeAssistant

from custom_components.kamstrup_403.const import DOMAIN
Expand Down
1 change: 1 addition & 0 deletions tests/test_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test kamstrup_403 setup process."""

from homeassistant.core import HomeAssistant
from homeassistant.exceptions import ConfigEntryNotReady
import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/test_manifest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test for versions."""

import json

from custom_components.kamstrup_403.const import DOMAIN, NAME, VERSION
Expand Down
1 change: 1 addition & 0 deletions tests/test_sensor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests sensor."""

import datetime

from homeassistant.components.sensor import SensorEntityDescription
Expand Down

0 comments on commit 4a0bad7

Please sign in to comment.