Skip to content

Frequently Asked Questions

I'm running into rate limits. What are these?

Sourcery has rate limits based on the size of pull requests you ask it to review over a rolling 7 day window. For more details, please see our rate limit documentation.

How do I connect to Sourcery behind firewall/corporate proxy?

Follow the steps to configure Sourcery to use a proxy.

Can I configure Sourcery not to make certain refactorings?

You can add a Sourcery configuration file to your project to switch off individual refactorings. This is covered in detail in Reference: .sourcery.yaml.

What information do you collect?

For code reivews we clone the branch/PR we are analyzing, run our analysis on the code, suggest changes, and then immediately delete any of your code from our servers. None of the large language model providers we work with will store any of your messages or code for over 30 days and none of them use your data to train models. If you require more stringent retention policies, we have agreements in place with Anthropic for full zero retention set ups. If this is a set up you would need, please reach out to us at support@sourcery.ai to request all your LLM requests be routed through Anthropic.

On our website we collect basic usage information via Google Analytics & Mixpanel, login information via Auth0, and payment information via Stripe.

For complete details about our information collection policies please check out our Privacy Policy

What languages does Sourcery work for?

Sourcery supports all major languages for code reviews. Our static rules are focused on Python, JavaScript, and TypeScript.

Why does Sourcery sometimes remove comments?

Some refactorings involve removing lines of code or moving them around, and these lines sometimes have comments associated with them. In these cases the refactoring will remove associated comments, but flag this to you so you can check if you want to keep them.

If you want to keep them:

  1. Copy the comments
  2. Apply the refactoring
  3. Paste the comments where you want them

Why do I need a token?

The token helps us check what license you have for Sourcery and makes sure you have access to the right set of features. You don't need to log in or use a token when working on open source projects.

When will Sourcery support my IDE or code hosting platform?

We're working to expand to offer Sourcery through more IDEs and more code hosting platforms. We have an open GitHub issue where you can request an editor for us to support.

I have another question that isn't listed here

Feel free to reach out to us at hello@sourcery.ai at anytime. We want to help make Sourcery as helpful as possible for you, so let us know what we can do :)