diff --git a/setup.py b/setup.py index ee40e77..1317f84 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,6 @@ setup(name='uncloud_cli', packages=find_packages(), install_requires=[ 'requests', - 'python-decouple', 'pyotp', 'click' ], diff --git a/uncloud_cli/commands/helper.py b/uncloud_cli/commands/helper.py index c7661c9..14ac530 100755 --- a/uncloud_cli/commands/helper.py +++ b/uncloud_cli/commands/helper.py @@ -26,7 +26,7 @@ def make_request(*args, data=None, request_method=requests.post): print('Error occurred while getting output from api server.') -def get_token(ctx, param, value): +def get_token(_, param, value): if value is not None: try: token = TOTP(value).now() diff --git a/uncloud_cli/commands/network.py b/uncloud_cli/commands/network.py index 978ec75..e81d2bf 100644 --- a/uncloud_cli/commands/network.py +++ b/uncloud_cli/commands/network.py @@ -1,7 +1,6 @@ -from uncloud_cli.commands.helper import add_otp_options, make_request - import click -import requests + +from uncloud_cli.commands.helper import add_otp_options, make_request @click.group()