sourcery
                                
                                
                                
                                    sourcery copied to clipboard
                            
                            
                            
                        Instant AI code reviews
### Checklist - [x] I have searched the [Sourcery documentation](https://docs.sourcery.ai/) for the issue, and found nothing - [x] I have read the common issues and fixes listed in the [Sourcery...
### Checklist - [x] I have searched the [Sourcery documentation](https://docs.sourcery.ai/) for the issue, and found nothing - [x] I have checked there are no open [bugs](https://github.com/sourcery-ai/sourcery/issues?q=label%3Abug) referencing the same bug...
### Checklist - [x] I have searched the [Sourcery documentation](https://docs.sourcery.ai/) for the issue, and found nothing - [x] I have read the common issues and fixes listed in the [Sourcery...
### Checklist - [X] This is a new feature, not a refactoring suggestion - [X] I have checked for this feature in the [Sourcery documentation](https://docs.sourcery.ai/) - [X] I have checked...
### Description Consider the following code: ```def get_best_order(nanoseconds: float) -> str: if nanoseconds < 1000: return "nanoseconds" if nanoseconds < 1000_000: return "microseconds" if nanoseconds < 1000_000_000: return "milliseconds" return...
### Checklist - [ x ] This is a new feature, not a refactoring suggestion - [ x ] I have checked for this feature in the [Sourcery documentation](https://docs.sourcery.ai/) -...
### Description I would like sourcery not to be in my face in my code all the time. given the example below :  1. this _is_ a test -...
Sourcery wants to refactor `d = d | {"add": "this"}` into `d |= {"add": "this"}`, but the two are not equivalent. The latter actually mutates d, while the first creates...
### Checklist - [x] I have searched the [Sourcery documentation](https://docs.sourcery.ai/) for the issue, and found nothing - [x] I have checked there are no open [bugs](https://github.com/sourcery-ai/sourcery/issues?q=label%3Abug) referencing the same bug...
### Checklist - [x] This is a new feature, not a refactoring suggestion - [x] I have checked for this feature in the [Sourcery documentation](https://docs.sourcery.ai/) - [x] I have checked...