sobolevn

Results 1343 comments of sobolevn

That's how it's done in `ex_aws`: https://github.com/CargoSense/ex_aws/blob/9e02e72477680dc6f57838b3427c0dc97431e076/lib/ex_aws/s3.ex#L895 But this method is private for some reason.

@alex88 I have tried to resolve this issue with the code from `ex_aws`, but as I said the needed function was private. So I gave up and used a hack...

@CrowdHailer nope, did not do that.

@tierralibre Fix: ``` config :arc, asset_host: "https://s3-eu-west-1.amazonaws.com/bucketname" ```

I got hit by this today: ```python import attr, cattr from typing import List @attr.dataclass class Some(object): a: List[str] data = {'a': 'bad string'} print(cattr.GenConverter().structure(data, Some)) # Some(a=['b', 'a', 'd',...

I guess the source of a problem is this line: https://github.com/Tinche/cattrs/blob/5bfa312885a712ee62991d58a3eb32d8ca82865e/src/cattr/converters.py#L118 It treats `str` as a sequence, but converts it as a string. Which is not right.

I would be happy to see `pytest` support. Sadly, I don't have the time to contribute.

@RayOconnor please, feel free to submit a fix!

Does this happen with raw `eradicate`? Or is it specific to `flake8-eradicate`?