sourcery
                                
                                
                                
                                    sourcery copied to clipboard
                            
                            
                            
                        Instant AI code reviews
## Overview Define a new re-usable GitHub Action for Sourcery. ## Follow-up work * add this to our [docs](https://docs.sourcery.ai/Guides/Getting-Started/GitHub/); * publish this action to the [GitHub Marketplace](https://github.com/marketplace?type=&verification=&query=sourcery+). ## Question for...
Dear all, There is a 404 page on the website when you go to it from within the pop up box in vscode. The link is https://docs.sourcery.ai/refactorings/convert-to-enumerate/ Thanks
Hi, I'm a user of VSCode & Sourcery, and I very often read the comments of methods. I am very annoyed by the "Sourcery Code Metrics" because this is irrelevant...
### Description The following code terminates before the refactoring but not after: ``` from itertools import count, product def loop(): for x in count(): for y in range(5): if x...
### 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...
### Description Sourcery should not remove comments. #### Original code ```python def some_function(event): # league_id is actually stored in event's "id" key and not league_id key league_id = event.get("id") if...
### 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 think this refactoring is useful for everyone (if it's too specific, consider a [custom rule](https://docs.sourcery.ai/custom_rules/)) - [x] I have checked there are no similar [issues](https://github.com/sourcery-ai/sourcery/issues)...
### 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...
### Issue description or question Just after install I get: ``` (sqlite3.OperationalError) no such table: jwk [SQL: SELECT count(*) FROM jwk] (Background on this error at: http://sqlalche.me/e/13/e3q8) ``` ### Sourcery...