diff --git a/.pylintrc b/.pylintrc index c2f85aa2..bf49cf40 100644 --- a/.pylintrc +++ b/.pylintrc @@ -6,7 +6,6 @@ disable= missing-docstring, invalid-name, too-few-public-methods, - superfluous-parens, useless-import-alias, bad-option-value, consider-using-dict-items, diff --git a/platformio/home/rpc/handlers/project.py b/platformio/home/rpc/handlers/project.py index 13a9ebbb..2ca3496b 100644 --- a/platformio/home/rpc/handlers/project.py +++ b/platformio/home/rpc/handlers/project.py @@ -247,7 +247,7 @@ class ProjectRPC: if not isinstance(platforms, list): platforms = [platforms] c_based_platforms = ["intel_mcs51", "ststm8"] - is_cpp_project = not (set(platforms) & set(c_based_platforms)) + is_cpp_project = not set(platforms) & set(c_based_platforms) except exception.PlatformioException: pass diff --git a/tests/commands/test_lib_complex.py b/tests/commands/test_lib_complex.py index 6ae585a2..eb56c5b7 100644 --- a/tests/commands/test_lib_complex.py +++ b/tests/commands/test_lib_complex.py @@ -272,7 +272,7 @@ def test_global_lib_uninstall(clirunner, validate_cliresult, isolated_pio_core): items = sorted(items, key=lambda item: item["__pkg_dir"]) result = clirunner.invoke(cmd_lib, ["-g", "uninstall", items[0]["__pkg_dir"]]) validate_cliresult(result) - assert ("Removing %s" % items[0]["name"]) in strip_ansi_codes(result.output) + assert "Removing %s" % items[0]["name"] in strip_ansi_codes(result.output) # uninstall the rest libraries result = clirunner.invoke(