Skip to content

Sourcery Refactorings

These are the refactorings currently available in Sourcery.

If you hover over a Sourcery refactoring proposal in your IDE or look at a Sourcery comment in GitHub you can see the Sourcery Refactoring ID for all of the refactorings being proposed in that change.

If you want to disable any of the refactorings in a specific function add in the comment # sourcery skip followed by the refactoring id. To skip it across your whole project add it into the refactor skips section of your Sourcery config file.

If you have any questions about any of these refactorings or have suggestions for new refactorings please reach out to us.

Back to top