David Euresti
David Euresti
I'm reopening this issue so we can discuss moving the plugin into attrs. Previously I said: > Being absolutely honest I prefer to leave the plugin as part of mypy...
I'm not sure why other projects go with using a separate package. Maybe it's to not have code that a user won't actually use. But I'm ok if it's all...
Doing a bit of research of how to bring the tests over. It looks like sqlalchemy-stubs does this: https://github.com/dropbox/sqlalchemy-stubs/blob/master/test/testsql.py I'll see if porting that over to our system is easy....
I did write most of it, but others have contributed fixes and patches.
This is a known mypy issue. I can't seem to find the bug right now but it's because we're trying to make sure that the `default` and the `validator` and...
Full disclosure I haven't had a chance to use Annotated yet, though I'm excited about it for my own projects. Are you thinking of something like: ``` @attr.define class MyClass:...
So I'm wondering if this is a typo? ``` python # Frozen descriptor don't work here @attr.s class Address: street: str = attr.ib ``` That should in theory be `attr.ib()`....
Note that this: ``` python @attr.define(slots=False) class Address: street: str = Frozen() number: str = Frozen() vid: str = Frozen() ``` has a problem where attrs thinks that `Frozen()` is...
The processing of `converter` is pretty complex and I don't think I tested every scenario. My guess is this happens because of the multi-pass process that mypy uses but I...
The default value does get passed through the validator: ``` @attr.s class Foo: x = attr.ib(default=88, validator=validators.instance_of(bool)) Foo() ``` Hmm. I'm wondering if this is one of those "covariance" issues...