forked from platformio/platformio-core
PyLint fix
This commit is contained in:
2
Makefile
2
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
|
||||
|
@ -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"]
|
||||
|
Reference in New Issue
Block a user