From 4e7aaa5bc20b9cb90e2419266c31cb8d5e9fafe0 Mon Sep 17 00:00:00 2001 From: Spiritedswordsman Date: Thu, 10 Jul 2025 10:12:32 +0530 Subject: [PATCH 1/4] Removed unused models --- src/tm_data_types/helpers/instrument_series.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/tm_data_types/helpers/instrument_series.py b/src/tm_data_types/helpers/instrument_series.py index 631b6a0..67d7201 100644 --- a/src/tm_data_types/helpers/instrument_series.py +++ b/src/tm_data_types/helpers/instrument_series.py @@ -34,10 +34,5 @@ class InstrumentSeries(Enum): slot_ids=5, gen_purpose_default=0, ) - MSO64 = TEKSCOPE - MSO64B = TEKSCOPE # noqa: PIE796 - MSO54 = TEKSCOPE # noqa: PIE796 - MSO54B = TEKSCOPE # noqa: PIE796 - MSO44 = TEKSCOPE # noqa: PIE796 - MSO44B = TEKSCOPE # noqa: PIE796 - MSO24 = TEKSCOPE # noqa: PIE796 + + MSO54 = TEKSCOPE # noqa: PIE796 \ No newline at end of file From 6202ae0f4bc358caf9edf6e70236c10fa0125dd5 Mon Sep 17 00:00:00 2001 From: Spiritedswordsman Date: Thu, 10 Jul 2025 10:46:48 +0530 Subject: [PATCH 2/4] refactor: remove unused instrument models and pass ruff check --- src/tm_data_types/helpers/instrument_series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tm_data_types/helpers/instrument_series.py b/src/tm_data_types/helpers/instrument_series.py index 67d7201..88c9f8a 100644 --- a/src/tm_data_types/helpers/instrument_series.py +++ b/src/tm_data_types/helpers/instrument_series.py @@ -35,4 +35,4 @@ class InstrumentSeries(Enum): gen_purpose_default=0, ) - MSO54 = TEKSCOPE # noqa: PIE796 \ No newline at end of file + MSO54 = TEKSCOPE # noqa: PIE796s From 969f03b6ff34bcf644093e649a45e6f58db57b39 Mon Sep 17 00:00:00 2001 From: Spiritedswordsman Date: Thu, 10 Jul 2025 18:53:18 +0530 Subject: [PATCH 3/4] refactor: remove unused instrument models and keep only TEKSCOPE --- src/tm_data_types/helpers/instrument_series.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tm_data_types/helpers/instrument_series.py b/src/tm_data_types/helpers/instrument_series.py index 88c9f8a..9b1a2b3 100644 --- a/src/tm_data_types/helpers/instrument_series.py +++ b/src/tm_data_types/helpers/instrument_series.py @@ -34,5 +34,3 @@ class InstrumentSeries(Enum): slot_ids=5, gen_purpose_default=0, ) - - MSO54 = TEKSCOPE # noqa: PIE796s From 2ae39bd38480a9eee816b1dd51f11af3e3220a9b Mon Sep 17 00:00:00 2001 From: Spiritedswordsman Date: Thu, 10 Jul 2025 21:52:15 +0530 Subject: [PATCH 4/4] chore: update changelog for model cleanup --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 705010f..0823cd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,7 @@ Things to be included in the next release go here. ### Removed - Python 3.8 support has been removed from the package. The minimum supported version is now Python 3.9. +- Removed unused instrument series models (MSO64, MSO54, MSO24, etc.) from InstrumentSeries enum. ### Added