Skip to content

Commit ce987e3

Browse files
committed
Move import statement to the top of the document. Fixes linter error
1 parent 5d854fc commit ce987e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mars-cli/mars_lib/credential.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import keyring
22
import os
33
import getpass
4+
import keyring.util.platform_ as keyring_platform
45

56
"""
67
Credential Manager Module
@@ -42,7 +43,6 @@
4243
4344
# Don't forget to handle exceptions and secure your credentials properly.
4445
"""
45-
import keyring.util.platform_ as keyring_platform
4646

4747
print(keyring_platform.config_root())
4848
# /home/username/.config/python_keyring # Might be different for you

0 commit comments

Comments
 (0)