Skip to content

Commit

Permalink
Update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Feb 8, 2023
1 parent 87db5ce commit 651b157
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion bin/gen_releasenotes
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env python3
"""Helper script to generate release notes."""
import argparse
from datetime import datetime
import logging
import os
import re
import subprocess
from datetime import datetime
from typing import List, Optional, Tuple

from github import Github, GithubException, Repository, Tag
Expand Down
5 changes: 2 additions & 3 deletions custom_components/integration_blueprint/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
"""
Custom integration to integrate integration_blueprint with Home Assistant.
"""Custom integration to integrate integration_blueprint with Home Assistant.
For more details about this integration, please refer to
https://github.com/Limych/ha-blueprint
"""
import asyncio
import logging
from datetime import timedelta
import logging

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
Expand Down
1 change: 1 addition & 0 deletions custom_components/integration_blueprint/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from typing import Optional

import voluptuous as vol

from homeassistant import config_entries
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-r requirements-test.txt
black==22.10.0
packaging==21.3
pre-commit~=2.20
black==23.1.0
packaging==23.0
pre-commit~=3.0
PyGithub~=1.57
pyupgrade~=3.3
yamllint~=1.28
4 changes: 2 additions & 2 deletions tests/test__init.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
"""Test integration_blueprint setup process."""

import pytest
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import ConfigEntryNotReady
from pytest_homeassistant_custom_component.common import MockConfigEntry

from custom_components.integration_blueprint import (
Expand All @@ -13,6 +11,8 @@
async_unload_entry,
)
from custom_components.integration_blueprint.const import DOMAIN
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import ConfigEntryNotReady

from .const import MOCK_CONFIG

Expand Down
4 changes: 2 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
import asyncio

import aiohttp
from homeassistant.core import HomeAssistant
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from pytest import raises

from custom_components.integration_blueprint.api import IntegrationBlueprintApiClient
from homeassistant.core import HomeAssistant
from homeassistant.helpers.aiohttp_client import async_get_clientsession


async def test_api(hass: HomeAssistant, aioclient_mock, caplog):
Expand Down
6 changes: 3 additions & 3 deletions tests/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
from unittest.mock import patch

import pytest
from homeassistant import config_entries, data_entry_flow
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant
from pytest_homeassistant_custom_component.common import MockConfigEntry

from custom_components.integration_blueprint.const import DOMAIN, PLATFORMS
from homeassistant import config_entries, data_entry_flow
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant

from .const import MOCK_CONFIG

Expand Down
6 changes: 3 additions & 3 deletions tests/test_switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

from unittest.mock import call, patch

from homeassistant.components.switch import SERVICE_TURN_OFF, SERVICE_TURN_ON
from homeassistant.const import ATTR_ENTITY_ID, Platform
from homeassistant.core import HomeAssistant
from pytest_homeassistant_custom_component.common import MockConfigEntry

from custom_components.integration_blueprint import (
IntegrationBlueprintApiClient,
async_setup_entry,
)
from custom_components.integration_blueprint.const import DEFAULT_NAME, DOMAIN
from homeassistant.components.switch import SERVICE_TURN_OFF, SERVICE_TURN_ON
from homeassistant.const import ATTR_ENTITY_ID, Platform
from homeassistant.core import HomeAssistant

from .const import MOCK_CONFIG

Expand Down

0 comments on commit 651b157

Please sign in to comment.