Skip to content

Commit

Permalink
Reformatted after reinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
fkglr committed Oct 14, 2024
1 parent 224bf33 commit e952b0a
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/cursed_hr/cursed_hr.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

import platformdirs
import zstandard as zstd

from gallia.log import PenlogPriority, PenlogRecord
from gallia.services.uds.core.service import NegativeResponse, UDSRequest, UDSResponse

Expand Down
5 changes: 2 additions & 3 deletions src/gallia/powersupply.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
from collections.abc import Awaitable, Callable
from functools import partial

from opennetzteil import netzteile
from opennetzteil.netzteil import BaseNetzteil

from gallia.log import get_logger
from gallia.transports import TargetURI
from opennetzteil import netzteile
from opennetzteil.netzteil import BaseNetzteil

logger = get_logger(__name__)

Expand Down
1 change: 1 addition & 0 deletions src/hr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from typing import cast

import msgspec

from gallia import exitcodes
from gallia.log import ColorMode, PenlogPriority, PenlogReader, resolve_color_mode

Expand Down
4 changes: 2 additions & 2 deletions src/opennetzteil/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
from abc import ABC
from typing import Any, Literal, Self

from pydantic import field_serializer, model_validator

from gallia.cli import parse_and_run
from gallia.command import AsyncScript
from gallia.command.base import AsyncScriptConfig, ScannerConfig
from gallia.command.config import Field, Idempotent
from gallia.powersupply import PowerSupplyURI
from gallia.transports import TargetURI
from gallia.utils import strtobool
from pydantic import field_serializer, model_validator

from opennetzteil import BaseNetzteil, netzteile


Expand Down
2 changes: 1 addition & 1 deletion src/opennetzteil/devices/http/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from urllib.parse import urljoin

import httpx
from gallia.transports import TargetURI

from gallia.transports import TargetURI
from opennetzteil.exceptions import OperationNotSupportedError
from opennetzteil.netzteil import BaseNetzteil

Expand Down
1 change: 0 additions & 1 deletion src/opennetzteil/devices/rs/hmc804.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from typing import Any

from gallia.utils import strtobool

from opennetzteil.exceptions import OperationNotSupportedError
from opennetzteil.netzteil import BaseNetzteil

Expand Down
1 change: 1 addition & 0 deletions tests/pytest/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import platformdirs
import pytest

from gallia.config import get_config_dirs, load_config_file


Expand Down
1 change: 1 addition & 0 deletions tests/pytest/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

import pytest

from gallia.log import setup_logging
from gallia.services.uds.core.utils import (
address_and_size_length,
Expand Down
1 change: 1 addition & 0 deletions tests/pytest/test_hsfz.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from collections.abc import AsyncIterator

import pytest

from gallia.services.uds.core.client import UDSClient
from gallia.services.uds.core.service import PositiveResponse
from gallia.transports.base import BaseTransport, TargetURI
Expand Down
3 changes: 2 additions & 1 deletion tests/pytest/test_target_uris.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
assert sys.platform.startswith("linux"), "unsupported platform"

import pytest
from pydantic import ValidationError

from gallia.transports import TargetURI
from gallia.transports.doip import DoIPConfig
from gallia.transports.isotp import ISOTPConfig
from gallia.transports.schemes import TransportScheme
from pydantic import ValidationError

uris = [
"doip://127.0.0.1:13400?src_addr=1&target_addr=1",
Expand Down
1 change: 1 addition & 0 deletions tests/pytest/test_transports.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from collections.abc import AsyncIterator, Callable

import pytest

from gallia.log import setup_logging
from gallia.transports import BaseTransport, TargetURI, TCPLinesTransport, TCPTransport

Expand Down

0 comments on commit e952b0a

Please sign in to comment.