Fix PyLint warnings

This commit is contained in:
Ivan Kravets committed 2024-09-23 16:02:07 +03:00
1 parent 3211a2b91b
commit 023b58e9f0
25 files changed
+36 -32

No files matched your search

+4 -2
View File
@@ -57,7 +57,7 @@ from platformio.project.options import ProjectOptions
@click.option("--interface", type=click.Choice(["gdb"]))
@click.argument("client_extra_args", nargs=-1, type=click.UNPROCESSED)
@click.pass_context
def cli(
def cli( # pylint: disable=too-many-positional-arguments
ctx,
project_dir,
project_conf,
@@ -111,7 +111,9 @@ def cli(
return None
def _configure(ctx, project_config, env_name, load_mode, verbose, client_extra_args):
def _configure(
ctx, project_config, env_name, load_mode, verbose, client_extra_args
): # pylint: disable=too-many-positional-arguments
platform = PlatformFactory.from_env(env_name, autoinstall=True)
debug_config = DebugConfigFactory.new(
platform,
+1 -1
View File
@@ -76,7 +76,7 @@ def get_default_debug_env(config):
def predebug_project(
ctx, project_dir, project_config, env_name, preload, verbose
): # pylint: disable=too-many-arguments
): # pylint: disable=too-many-arguments,too-many-positional-arguments
debug_testname = project_config.get("env:" + env_name, "debug_test")
if debug_testname:
test_names = list_test_names(project_config)