João Eiras
João Eiras
This snippet should have 100% coverage ``` #!/usr/bin/env bash function this_command_runs { true } function main { # awk script -> it just a long string passed to the awk....
Should this yield `True` ? `>>> isinstance(OrderedSet(), set)` Given `OrderedSet` shares the same API and already inherits from `collections.Set`, this check makes sense to me at least, so `OrderedSet` would...
Hi. I've been using .env files for a while, namely to setup variable and load python virtual environments, also with stuff like autoenv. This means that my .env files have...
zip https://docs.python.org/3/library/functions.html?highlight=zip#zip How come I forgot to mention this one in the last issue I don't know, since I use it quite often :)
# Bug report This crashes. It should not. ``` from unittest.mock import create_autospec class X: @property def myprop(self): raise Exception("some bug") create_autospec(X()) ``` Now you could tell for me to...
Issue code (assume max line length
**Describe the bug** A clear and concise description of what the bug is. Imports are incorrectly removed from class scopes. Sometimes I use class scopes to keep imports contained when...
Closes #1535 and #1585 Added a bunch of nice to have feature if you're writting unit tests involving a lot of message handling: * Made Messages instantiatable from Python *...
Fixes https://github.com/confluentinc/confluent-kafka-python/issues/1590 which is about the Producer class Also realized that the same error affected the AdminClient class, so also fixed that. And then cleaned up the Consumer code to...
## Desired change * **Rule(s)**: SIM401 * **Adjustment**: The rule is too greedy and will happily trigger in code that has nothing to do with the supposed suggested simplification in...