Skip to content
Hellebore edited this page Apr 14, 2021 · 26 revisions

What is Sourcery?

Sourcery refactors Python using AI. It is available as a GitHub App and as a IDE plugin

Sourcery IDE Plugins

Sourcery via IDE works as an AI-powered coding assistant which helps you write better Python code faster. It works by providing refactoring suggestions on the fly that you can instantly integrate into your code.

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.

Clone this wiki locally