Sourcery AI

Sourcery AI

Instant Python refactoring

5.0
2 reviews

268 followers

Sourcery is your AI code reviewer who lives in your GitHub repos - instantly reviewing every pull request.
This is the 3rd launch from Sourcery AI. View more

Sourcery 2.0

Continuous code review to make your code more maintainable
Sourcery makes sure all of your code is following best practices from standard Pythonic rules to issues that pop up during code reviews. Add to your IDE to get instant feedback, use the CLI to review existing code, or integrate it into your CI.
Sourcery 2.0 gallery image
Sourcery 2.0 gallery image
Sourcery 2.0 gallery image
Free Options
Launch Team
Intercom
Intercom
Startups get 90% off Intercom + 1 year of Fin AI Agent free
Promoted

What do you think? …

giorgi beria
so grateful love the progress
Tim Gilboy
@giorgi_beria thank you!
Philippe Brulé
Looks cool! Will test it out.
Reka
@aboutphilippe Thanks a lot. :-) We're curious about your feedback both to Sourcery and to the Getting Started docs. https://docs.sourcery.ai/Guides/...
M.H. Lines
Hey Tim - We'd love to look into this. Can you reach out?
Tim Gilboy
@m_h_lines definitely! I just connected with you on LinkedIn, but let me know if there's a better way to get in touch
Tex Dworkin
Keep killin it!
Reka
@tex_dworkin Thank you!
Shushant Lakhyani
This is a veery helpful tool for developers!
Reka
@shushant_lakhyani Thanks a lot.
Thomas Jones
Sounds good ... can I use Sourcery on legacy projects, or will it just overwhelm me with issues ... ?
Tim Gilboy
@tjamesjones good question! You can handle legacy code in two ways: 1. Do a full project review to identify all existing issues. We recommend doing this with our command line interface (https://docs.sourcery.ai/Guides/...). You can run `sourcery review ` to check all of your existing code and get a baseline for what issues you have. You can then choose which of those you want to fix right away and which you want to wait to deal with. 2. Set up Sourcery in your CI (https://docs.sourcery.ai/Guides/...) or as a pre-commit hook (https://docs.sourcery.ai/Guides/...) and set it to only review changed code using the --diff option. Then Sourcery will only look at the changed code and only suggest changes on those.
Thomas Jones
@tim_sourcery yes thanks that makes sense
Rishabh Agrawal
A quick question. How is it different from Sonarqube which provides a full fledged solution with linting, security and code coverage as well?
Reka
@rishabh_agrawal2 Good question. SonarQube is also a great code quality tool. There's an overlap between their functionalities, but there are also some differences. 1) Automated fixes Sourcery provides automated fixes for more than 100 common code quality issues. You can apply these immediately in your IDE as you type. Or you can fix dozens of issues at once in the command line. https://docs.sourcery.ai/Guides/...
Reka
@rishabh_agrawal2 2) Custom rules With Sourcery, you can define your own rules specific to your codebase. For example: * Check the dependencies between the packages of your project. * Project specific naming conventions. * Getting rid of deprecated code https://docs.sourcery.ai/Guides/... https://docs.sourcery.ai/Guides/...