mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-03 22:35:11 +00:00
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> |
||
---|---|---|
.. | ||
boards/unit/unit_testing | ||
.gitignore | ||
expr_parser.py | ||
harness.py | ||
ini2yaml.py | ||
sanity_compare.args | ||
sanity_daily.args | ||
sanity_last_release.csv | ||
sanity_verify.args | ||
sanitycheck-platform-schema.yaml | ||
sanitycheck-tc-schema.yaml | ||
scl.py |