forked from platformio/platformio-core
PyLint fixes
This commit is contained in:
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
lint:
|
lint:
|
||||||
pylint -j 6 --rcfile=./.pylintrc ./platformio ./tests
|
pylint -j 6 --rcfile=./.pylintrc ./platformio
|
||||||
pylint -j 6 --rcfile=./.pylintrc ./tests
|
pylint -j 6 --rcfile=./.pylintrc ./tests
|
||||||
|
|
||||||
isort:
|
isort:
|
||||||
|
@ -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(foo_1_0_0_pkg.path, silent=True)
|
||||||
assert lm.uninstall(bar_pkg, silent=True)
|
assert lm.uninstall(bar_pkg, silent=True)
|
||||||
|
|
||||||
assert len(lm.get_installed()) == 0
|
assert not lm.get_installed()
|
||||||
|
|
||||||
# test uninstall dependencies
|
# test uninstall dependencies
|
||||||
assert lm.install("AsyncMqttClient-esphome @ 0.8.4", silent=True)
|
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))
|
lm = LibraryPackageManager(str(storage_dir))
|
||||||
assert lm.install("AsyncMqttClient-esphome @ 0.8.4", silent=True)
|
assert lm.install("AsyncMqttClient-esphome @ 0.8.4", silent=True)
|
||||||
assert lm.uninstall("AsyncMqttClient-esphome", 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):
|
def test_registry(isolated_pio_core):
|
||||||
|
Reference in New Issue
Block a user