zserio icon indicating copy to clipboard operation
zserio copied to clipboard

Unused import in python for empty choices

Open mikir opened this issue 4 years ago • 0 comments

Python generates unused imports for empty choices:

enum uint16 TestEnum
{
    DUMMY
};

choice TestChoice(TestEnum type) on type
{
    case DUMMY:
    ;
};

The previous example generates unused import import TestEnum.

Once fixed, don't forget to update disabled options for pylint in test_zs.sh.

mikir avatar Jun 09 '20 13:06 mikir