from .consts.fac_const_list import (
list_fac_2p4s_dcdc_hard_interlocks
)
to:
from .consts.fac import (
hard_interlocks
)
That being said, consider importing the class as a whole, instead of individual constants, given that the name is sufficiently descriptive and all constants end up being imported anyway.
Example:
to:
That being said, consider importing the class as a whole, instead of individual constants, given that the name is sufficiently descriptive and all constants end up being imported anyway.