Fixup test bitswap. mypy
This commit is contained in:
@@ -10,7 +10,7 @@ if TYPE_CHECKING:
|
||||
# TODO: implement sw=w1 "write once" fields
|
||||
|
||||
class _OnWrite(NextStateConditional):
|
||||
onwritetype = None
|
||||
onwritetype = None # type: OnWriteType
|
||||
def is_match(self, field: 'FieldNode') -> bool:
|
||||
return field.is_sw_writable and field.get_property('onwrite') == self.onwritetype
|
||||
|
||||
|
||||
Reference in New Issue
Block a user