Closed Hyperclaw79 closed 1 year ago
Update: Running Scan for refactorings
removed the suggestion.
Thanks @Hyperclaw79 - if it cleared up after you ran the scan it looks like this may be a caching error. Thanks for letting us know - we'll look into it.
Hi @Hyperclaw79 - is this still occurring with the latest version?
Seems to be fixed now! 🎉
Issue description or question
When a function is declared in the global scope, right after a class, the function is being assumed to be a bound method of that particular class and raises
The first argument to instance methods should be 'self'
.Code Snippet and Screenshot:
Sourcery Version
v0.12.3
Code editor or IDE name and version
VS Code - 1.70.0-insider
OS name and version
Windows 11