From ce987e3548d80a2d235845d639a04596acf608bc Mon Sep 17 00:00:00 2001 From: Kevin De Pelseneer Date: Thu, 11 Apr 2024 08:12:45 +0200 Subject: [PATCH] Move import statement to the top of the document. Fixes linter error --- mars-cli/mars_lib/credential.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mars-cli/mars_lib/credential.py b/mars-cli/mars_lib/credential.py index 2fcb23d..333c4c1 100644 --- a/mars-cli/mars_lib/credential.py +++ b/mars-cli/mars_lib/credential.py @@ -1,6 +1,7 @@ import keyring import os import getpass +import keyring.util.platform_ as keyring_platform """ Credential Manager Module @@ -42,7 +43,6 @@ # Don't forget to handle exceptions and secure your credentials properly. """ -import keyring.util.platform_ as keyring_platform print(keyring_platform.config_root()) # /home/username/.config/python_keyring # Might be different for you