Ruan Comelli

Results 32 comments of Ruan Comelli

Hello, @diceroll123! Ah yes, this refactoring also surprises me a bit once in a while :laughing: What you described is indeed the intended behavior for this refactoring. Sourcery collects all...

That's a great idea, thank you! I've added it to our pipeline :grin:

Hi, @bwagner! A fix for this issue was released in Sourcery **v0.12.7**. The expected behavior now is for Sourcery to refactor ```python a = {'a': 'b'} a.update({k: a[v] for k,...

Closing this issue as completed since a fix was released in Sourcery v0.12.7, but feel free to re-open it if you still find this bug even after updating Sourcery :grin:...

Hello @diceroll123! Thanks for opening this issue. When we introduce `Exception` with the `do-not-use-bare-except` suggestion there's a small chance that the functionality of the code could be changed, so we...

Hey @alwinw, thank you for this suggestion! I've added it to our pipeline. The tricky piece here is that this could change functionality since [`s.split("\n")` and `s.splitlines()` behave differently in...

Hello, @destroyace, thanks for reaching out! What pip and Python versions are you using? You can check both by running `pip --version` and `python --version`.

I suspect that you are running a 32-bit version of Python? Currently, [we only support 64-bit](https://pypi.org/project/sourcery-cli/#files). Are you using a 32-bit machine? If not, could you please try [installing Python...

A consequence from the subtype simplification is that `Union`s with `Any`s always result in `Any`: - `Union[Any, ]` → `Any`

Hi @blakeNaccarato, thanks for opening this issue! You are completely right, we definitely need to rethink the way this refactoring works, moving towards a more general solution. I've added it...