diff --git a/Makefile b/Makefile index 117725d3..5ba6f788 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ lint: - pylint -j 6 --rcfile=./.pylintrc ./platformio pylint -j 6 --rcfile=./.pylintrc ./tests + pylint -j 6 --rcfile=./.pylintrc ./platformio isort: isort ./platformio diff --git a/tests/conftest.py b/tests/conftest.py index d81f0e8a..b3b1bc88 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -42,6 +42,7 @@ def clirunner(request): "PLATFORMIO_WORKSPACE_DIR": {"new": None}, } for key, item in backup_env_vars.items(): + # pylint: disable=unnecessary-dict-index-lookup backup_env_vars[key]["old"] = os.environ.get(key) if item["new"] is not None: os.environ[key] = item["new"]