From 16bb0e2d9b7c42edccf4e1ab292d27e9da908e5c Mon Sep 17 00:00:00 2001 From: staticdev Date: Mon, 27 Jan 2025 22:22:32 +0100 Subject: [PATCH] Return user_options --- isort/setuptools_commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/isort/setuptools_commands.py b/isort/setuptools_commands.py index e2620afa..8cca60f7 100644 --- a/isort/setuptools_commands.py +++ b/isort/setuptools_commands.py @@ -16,6 +16,8 @@ class ISortCommand(setuptools.Command): """ description = "Run isort on modules registered in setuptools" + # Potentially unused variable - check if can be safely removed + user_options: list[Any] = [] # type: ignore[misc] def initialize_options(self) -> None: default_settings = vars(DEFAULT_CONFIG).copy()