PyLint fixes

This commit is contained in:
Ivan Kravets
2020-08-17 15:33:08 +03:00
parent 6f7fc638c7
commit fb6e1fd33c
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
lint:
pylint -j 6 --rcfile=./.pylintrc ./platformio ./tests
pylint -j 6 --rcfile=./.pylintrc ./platformio
pylint -j 6 --rcfile=./.pylintrc ./tests
isort:

View File

@ -349,7 +349,7 @@ def test_uninstall(isolated_pio_core, tmpdir_factory):
assert lm.uninstall(foo_1_0_0_pkg.path, silent=True)
assert lm.uninstall(bar_pkg, silent=True)
assert len(lm.get_installed()) == 0
assert not lm.get_installed()
# test uninstall dependencies
assert lm.install("AsyncMqttClient-esphome @ 0.8.4", silent=True)
@ -360,7 +360,7 @@ def test_uninstall(isolated_pio_core, tmpdir_factory):
lm = LibraryPackageManager(str(storage_dir))
assert lm.install("AsyncMqttClient-esphome @ 0.8.4", silent=True)
assert lm.uninstall("AsyncMqttClient-esphome", silent=True)
assert len(lm.get_installed()) == 0
assert not lm.get_installed()
def test_registry(isolated_pio_core):