zephyr/scripts/west_commands/runners
Ulf Magnusson ba312fe844 scripts: Remove unnecessary () around if/while conditions in Python
Not needed in Python. Detected by check C0325 in pylint3.

Also replace an

  if len(tag):

with just

  if tag:

Empty strings, byte strings, lists, etc., are falsy in Python.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-26 07:59:59 -05:00
..
__init__.py
arc.py
blackmagicprobe.py
bossac.py scripts: bossac: Support flashing at an offset. 2019-02-07 15:13:11 -05:00
core.py doc: prepare for improving doc API linking 2019-03-15 05:47:19 +01:00
dfu.py
esp32.py
hifive1.py
intel_s1000.py
jlink.py
nios2.py
nrfjprog.py scripts: Remove unnecessary () around if/while conditions in Python 2019-03-26 07:59:59 -05:00
nsim.py
openocd.py
pyocd.py west_commands: pyocd: Sector erase by default 2019-03-12 16:52:14 +01:00
qemu.py
xtensa.py