mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Fix PyLint warnings from the last CI build
This commit is contained in:
@ -159,10 +159,10 @@ def lib_list():
|
|||||||
|
|
||||||
|
|
||||||
@cli.command("show", short_help="Show details about installed libraries")
|
@cli.command("show", short_help="Show details about installed libraries")
|
||||||
@click.argument("id", type=click.INT)
|
@click.argument("libid", type=click.INT)
|
||||||
def lib_show(id):
|
def lib_show(libid):
|
||||||
lm = LibraryManager(get_lib_dir())
|
lm = LibraryManager(get_lib_dir())
|
||||||
info = lm.get_info(id)
|
info = lm.get_info(libid)
|
||||||
click.secho(info['name'], fg="cyan")
|
click.secho(info['name'], fg="cyan")
|
||||||
click.echo("-" * len(info['name']))
|
click.echo("-" * len(info['name']))
|
||||||
|
|
||||||
@ -206,8 +206,7 @@ def lib_update():
|
|||||||
|
|
||||||
click.echo("Updating [ %s ] %s library:" % (
|
click.echo("Updating [ %s ] %s library:" % (
|
||||||
click.style(id_, fg="yellow"),
|
click.style(id_, fg="yellow"),
|
||||||
click.style(info['name'], fg="cyan"))
|
click.style(info['name'], fg="cyan")))
|
||||||
)
|
|
||||||
|
|
||||||
current_version = info['version']
|
current_version = info['version']
|
||||||
latest_version = versions[id_]
|
latest_version = versions[id_]
|
||||||
|
Reference in New Issue
Block a user