Skip to content

Commit

Permalink
refactor: resolve conflicting linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
HipsterBrown committed Oct 29, 2024
1 parent d80d870 commit 2f4fa27
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ repos:
language: system
types: [python]
require_serial: true
- id: reorder-python-imports
name: Reorder python imports
entry: reorder-python-imports
language: system
types: [python]
args: [--application-directories=custom_components]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.2.1
hooks:
Expand Down
1 change: 1 addition & 0 deletions custom_components/viam/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The viam integration."""

from __future__ import annotations

from homeassistant.const import CONF_ADDRESS
Expand Down
1 change: 1 addition & 0 deletions custom_components/viam/config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Config flow for viam integration."""

from __future__ import annotations

import logging
Expand Down
1 change: 1 addition & 0 deletions custom_components/viam/manager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Manage Viam client connection."""

from typing import Any

from homeassistant.config_entries import ConfigEntry
Expand Down
1 change: 1 addition & 0 deletions custom_components/viam/services.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Services for Viam integration."""

from __future__ import annotations

import base64
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 @@
"""Common fixtures for the viam tests."""

import asyncio
from collections.abc import Generator
from dataclasses import dataclass
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 the viam config flow."""

from collections.abc import Generator
from unittest.mock import AsyncMock
from unittest.mock import MagicMock
Expand Down

0 comments on commit 2f4fa27

Please sign in to comment.