zephyr/boards
Ulf Magnusson 12ba9dfa52 scripts: Remove unused variables in all Python scripts
Discovered with pylint3.

Use the placeholder name '_' for unproblematic unused variables. It's
what I'm used to, and pylint knows not to flag it.

Python tip:

    for i in range(n):
        some_list.append(0)

can be replaced with

    some_list += n*[0]

Similarly, 3*'\t' gives '\t\t\t'.

(Relevant here because pylint flagged the loop index as unused.)

To do integer division in Python 3, use // instead of /.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-28 11:06:20 -05:00
..
arc board: emsk: fix the wrong info about DDR 2019-03-22 08:35:26 -05:00
arm boards: Remove enabling RTT by default on pca10040 and pca10056 2019-03-28 08:41:28 -05:00
common
nios2
posix doc: Bluetooth: Expand BabbleSim section 2019-03-17 21:39:21 -04:00
riscv32 boards: rv32m1_vega: Enable building with Zephyr toolchain 2019-03-13 17:02:05 -05:00
shields
x86 doc: fix ACRN board list format 2019-03-23 19:26:27 -04:00
x86_64/qemu_x86_64
xtensa scripts: Remove unused variables in all Python scripts 2019-03-28 11:06:20 -05:00
CMakeLists.txt
index.rst
Kconfig