From 29872ae6bb6af59e66e178c0c56080c44b76dc36 Mon Sep 17 00:00:00 2001 From: Nigel Dokter Date: Sat, 14 Jan 2023 13:42:42 +0100 Subject: [PATCH] issue-51-telegram remove unused imports --- dsmr_parser/clients/filereader.py | 1 - dsmr_parser/clients/serial_.py | 1 - dsmr_parser/clients/socket_.py | 1 - test/experiment_telegram.py | 1 - test/test_parser_corner_cases.py | 1 - test/test_telegram.py | 1 - 6 files changed, 6 deletions(-) diff --git a/dsmr_parser/clients/filereader.py b/dsmr_parser/clients/filereader.py index 47a6338..a2ab525 100644 --- a/dsmr_parser/clients/filereader.py +++ b/dsmr_parser/clients/filereader.py @@ -4,7 +4,6 @@ import tailer from dsmr_parser.clients.telegram_buffer import TelegramBuffer from dsmr_parser.exceptions import ParseError, InvalidChecksumError -from dsmr_parser.objects import Telegram from dsmr_parser.parsers import TelegramParser logger = logging.getLogger(__name__) diff --git a/dsmr_parser/clients/serial_.py b/dsmr_parser/clients/serial_.py index 91b3a3b..945c4e7 100644 --- a/dsmr_parser/clients/serial_.py +++ b/dsmr_parser/clients/serial_.py @@ -5,7 +5,6 @@ import serial_asyncio from dsmr_parser.clients.telegram_buffer import TelegramBuffer from dsmr_parser.exceptions import ParseError, InvalidChecksumError from dsmr_parser.parsers import TelegramParser -from dsmr_parser.objects import Telegram logger = logging.getLogger(__name__) diff --git a/dsmr_parser/clients/socket_.py b/dsmr_parser/clients/socket_.py index 39621c6..b7490ec 100644 --- a/dsmr_parser/clients/socket_.py +++ b/dsmr_parser/clients/socket_.py @@ -4,7 +4,6 @@ import socket from dsmr_parser.clients.telegram_buffer import TelegramBuffer from dsmr_parser.exceptions import ParseError, InvalidChecksumError from dsmr_parser.parsers import TelegramParser -from dsmr_parser.objects import Telegram logger = logging.getLogger(__name__) diff --git a/test/experiment_telegram.py b/test/experiment_telegram.py index 85622c7..9556b23 100644 --- a/test/experiment_telegram.py +++ b/test/experiment_telegram.py @@ -1,5 +1,4 @@ from dsmr_parser import telegram_specifications -from dsmr_parser.objects import Telegram from dsmr_parser.parsers import TelegramParser from example_telegrams import TELEGRAM_V4_2 parser = TelegramParser(telegram_specifications.V4) diff --git a/test/test_parser_corner_cases.py b/test/test_parser_corner_cases.py index 7292b2c..9b26956 100644 --- a/test/test_parser_corner_cases.py +++ b/test/test_parser_corner_cases.py @@ -2,7 +2,6 @@ import unittest from dsmr_parser import telegram_specifications -from dsmr_parser.objects import Telegram from dsmr_parser.objects import ProfileGenericObject from dsmr_parser.parsers import TelegramParser from dsmr_parser.parsers import ProfileGenericParser diff --git a/test/test_telegram.py b/test/test_telegram.py index 39ca426..bf7a841 100644 --- a/test/test_telegram.py +++ b/test/test_telegram.py @@ -6,7 +6,6 @@ from dsmr_parser import telegram_specifications from dsmr_parser import obis_name_mapping from dsmr_parser.objects import CosemObject from dsmr_parser.objects import MBusObject -from dsmr_parser.objects import Telegram from dsmr_parser.objects import ProfileGenericObject from dsmr_parser.parsers import TelegramParser from test.example_telegrams import TELEGRAM_V4_2