From 5799d896b92b71cc88f3f9a67657e822eed7a6d6 Mon Sep 17 00:00:00 2001 From: qdelamea Date: Mon, 18 Nov 2024 11:25:23 +0100 Subject: [PATCH] style: remove a deprecated configuration setting --- packages/python/ruff.toml | 3 --- packages/python/src/armonik/common/enumwrapper.py | 4 ---- 2 files changed, 7 deletions(-) diff --git a/packages/python/ruff.toml b/packages/python/ruff.toml index e887df321..eee059e7d 100644 --- a/packages/python/ruff.toml +++ b/packages/python/ruff.toml @@ -35,9 +35,6 @@ exclude = ["*.pyi"] # By default all rules are considered fixable. fixable = ["ALL"] -# Avoid automatically removing unused imports in `__init__.py` files. -ignore-init-module-imports = false - [format] # Like Black, indent with spaces, rather than tabs. indent-style = "space" diff --git a/packages/python/src/armonik/common/enumwrapper.py b/packages/python/src/armonik/common/enumwrapper.py index d5c292f84..fc998b36b 100644 --- a/packages/python/src/armonik/common/enumwrapper.py +++ b/packages/python/src/armonik/common/enumwrapper.py @@ -26,8 +26,6 @@ EVENTS_ENUM_RESULT_OWNER_UPDATE, ) from ..protogen.common.session_status_pb2 import ( - SessionStatus as RawSessionStatus, - _SESSIONSTATUS, SESSION_STATUS_UNSPECIFIED, SESSION_STATUS_RUNNING, SESSION_STATUS_CANCELLED, @@ -37,8 +35,6 @@ SESSION_STATUS_DELETED, ) from ..protogen.common.result_status_pb2 import ( - ResultStatus as RawResultStatus, - _RESULTSTATUS, RESULT_STATUS_UNSPECIFIED, RESULT_STATUS_CREATED, RESULT_STATUS_COMPLETED,