attrs plugin: incorrect handling of attr.ib(default=42, init=False) #5148
Labels
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
topic-attrs
If
attr.ib()
has init=False and a default value, it should be possible to add more non-default attributes. However, currently this breaks:with
error: Non-default attributes not allowed after default attributes.
.ref python-attrs/attrs#389
The text was updated successfully, but these errors were encountered: