Fix this warning, as a preparation for a CI check:
arch/common/gen_isr_tables.py:167:11: C0123: Using type() instead of
isinstance() for a typecheck. (unidiomatic-typecheck)
isinstance() has the advantage that it also handles inheritance, though
it doesn't really matter here. It's more common at least.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| gen_isr_tables.py | ||
| isr_tables.c | ||
| isr_tables.ld | ||
| nocache.ld | ||
| ramfunc.ld | ||
| sw_isr_common.c | ||
| timing_info_bench.c | ||