Force use of keyword args on most constructors

This commit is contained in:
Jan Petykiewicz 2020-09-10 20:37:19 -07:00
commit 0e04633f61
9 changed files with 9 additions and 0 deletions

View file

@ -40,6 +40,7 @@ class Label(PositionableImpl, LayerableImpl, LockableImpl, RepeatableImpl, Annot
def __init__(self,
string: str,
*,
offset: vector2 = (0.0, 0.0),
layer: layer_t = 0,
repetition: Optional[Repetition] = None,