Skip to content
Commit 3206e429 authored by Ulf Magnusson's avatar Ulf Magnusson Committed by Anas Nashif
Browse files

scripts: gen_kobject_list.py: Simplify test with chained comparison



'a < b and b < c' can be simplified to 'a < b < c' in Python.

Fixes this pylint warning:

    scripts/gen_kobject_list.py:198:22: R1716: Simplify chained
    comparison between the operands (chained-comparison)

Fixing pylint warnings for a CI check.

Signed-off-by: default avatarUlf Magnusson <Ulf.Magnusson@nordicsemi.no>
parent d2d5fae8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment