Diego Argueta
Diego Argueta
It would be great if there were a way to ignore inherited arguments in overridden methods in a subclass. For example, suppose we have the following code: ```py class BaseClass:...
- [x] AsIs - [x] AutoField - [x] BareField - [x] BigAutoField - [x] BigBitField - [x] BigIntegerField - [x] BinaryUUIDField - [ ] BitField - [x] BlobField - [x]...
## Type of changes Bug fix ## Checklist - [x] I've run the latest [black](https://github.com/ambv/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate....
## Desired change * **Rule(s)**: SIM113 * **Adjustment**: Do not trigger SIM113 if the counter is used outside the loop. ## Explanation A `for` loop only assigns the value variables...
Not sure why, but `opendir()` apparently only works on the root directory. If you try to use it with a subdirectory that exists, you get a ResourceNotFound error. ``` >>>...
To reproduce: ```py import collections conf = Configuration({}) data = collections.ChainMap({"abc": {"def": "ghi"}}) conf.update(data) print(conf["abc.def"]) ``` If `data` is a plain dict or a Configuration object, `conf["abc.def"]` will give "ghi"....
Attempting to compare a `Configuration` to anything that's not mapping-like crashes. This is a particularly nasty surprise when you have a function that returns either a `Configuration` or `None` and...
To reproduce: ```py env = config.EnvConfiguration(prefix="whatever") print(repr(env)) ``` The expected output would be something like ``, but instead it's always `` The fix for this is simple; change `Configuration`'s implementation...
I'm getting a crash with a `ConnectionError` error while using `moto` in conjunction with [`s3fs`](https://github.com/dask/s3fs). Weird thing is, it's flaky. The exact same tests only fail around 1/3 of the...
For those of us using MyPy in our projects it'd be really helpful to add typing annotations. Now that we only support Python 3.6+ we can do this directly in...