zephyr/doc/extensions
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
..
lexer
only
zephyr scripts: Remove unnecessary () around if/while conditions in Python 2019-03-26 07:59:59 -05:00
local_util.py scripts: Remove extra trailing newlines from Python scripts 2019-03-26 07:53:08 -05:00