Skip to content
Brendan Maginnis edited this page Sep 28, 2021 · 26 revisions

Please visit our newer docs at https://docs.sourcery.ai

What is Sourcery?

Sourcery is an integration for your IDE or GitHub that suggests refactoring improvements to help make your code more readable and generally higher quality.

It is currently available for Python.

Sourcery IDE Plugins

Sourcery via IDE works in the background while you code, reviewing the files you work on and gives you clear refactoring suggestions.

Sourcery GitHub App

The Sourcery GitHub app gives you the power of Sourcery for your whole team. Install the app and it will refactor all pull requests on your repo, branching off new PRs that can be merged in straight away.

Sourcery Command Line Interface

The Sourcery CLI allow you the integrate Sourcery into your CI pipeline or use it as a pre-commit hook.

It is currently only available for use with a Team subscription.

Sourcery Refactorings

Here are Sourcery's current refactorings, with explanations and code snippets.