Little bit of refactoring

This commit is contained in:
ahmadbilalkhalid 2019-12-31 23:19:20 +05:00
parent 436cb881b2
commit 1df45d5901
3 changed files with 3 additions and 5 deletions

View File

@ -20,7 +20,6 @@ setup(name='uncloud_cli',
packages=find_packages(),
install_requires=[
'requests',
'python-decouple',
'pyotp',
'click'
],

View File

@ -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()

View File

@ -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()