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 doc: sphinx: Fix broken import of lexer.DtsLexer 2018-03-29 08:16:04 -04:00
only doc: add sphinx extension improving only directive 2018-12-02 14:17:24 -05:00
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