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
agent by Firecrawl
agent by Firecrawl
Gather structured data wherever it lives on the web
Promoted

What do you think? …

Hannu Kokko
So when will the 2.0 be available for Pycharm
Reka
@hannu_kokko Good question. Sorry for the confusion with the version numbers. :-) The features presented in this Sourcery 2.0 ProductHunt launch are available in the current version: 0.12.11 (Both in the PyCharm plugin and the command line tool.)
Hannu Kokko
@reka4096 Interesting versioning for the plugin. It might be good to upgrade that a bit. Perhaps going with 2.0.x
Reka
@hannu_kokko Yes, that's a good point. :-) We've had some discussions about version numbers but so far sticked to the current 0.12.x numbers. We've added several smaller and bigger improvements in the last months, so probably it will be time to change the major version number soon.
Hannu Kokko
Have been using Sourcery Pro since year and a half when I discovered it. It has been extremely useful for making sure codebase stays Pythonic. Using it multiple times a day both at work and hobby projects. I love the configurability even in the Pro version. Have been eyeing the Teams version - maybe soon.
Reka
@hannu_kokko Thanks a lot for the nice feedback. I'm curious: Which configuration options do you use? How is your setup different for work and hobby projects? Regarding the Teams version: The command line tool is also available in the Pro version now. Hopefully, this makes it easier to try out the Teams features and to evaluate whether this would be useful for your team as well. If you have any questions about this, please reach out to us.
Hannu Kokko
@reka4096 Not using all the Google rules. From the standard rules: Off the cuff: not using the rule/s that results in extend being used in python code, I find that extend did not make code clearer. Not using the walrus rules - current way that results from that refactoring does not make it clearer - there are places for walrus but these have not come up so far.
Reka
@hannu_kokko Thanks for the insight, that's very interesting. Regarding walrus: Do you have a rule of thumb when you prefer using it and when not?
Martin Gould
So excited to see the progress! Do you also plan to support any other languages in the future?
Tim Gilboy
@emmgee thanks for the support! We are planning on adding in additional language support in the near future. Right now we're targeting early next year for our first additional language and then adding in more languages after that. Are there any specific languages we should be prioritizing supporting for you?
Varun Razora
Can i integrate with android studio and VS?
Tim Gilboy
@varunrazora for now we're Python only, so don't have direct support for android studio or visual studio (but we do have support for visual studio code). As we expand to add more languages we'll also expand what IDEs we support
Varun Razora
@tim_sourcery VS and Android studio is one of the major player in IDE. I would wait for the update from you guys soon. All the best man.
Johannes Hund
Gave it a spin and am amazed! Not much into python though. Any plans on supporting other languages? Golang maybe? could probably be among the more accessible ones and would be great to have! I would be very happy to see a tool like this for JS/Typescript or even Rust, but I assume that's more ambitious.
Tim Gilboy
@johanneshund1 thank you! We're planning on adding in support for additional languages and are aiming for early next year for the first one. We ultimately want to support a broad array of languages including Golang, JS, & Rust
Reka
@johanneshund1 Thanks a lot. Additional languages are definitely on our roadmap. Right now, we're planning to release a second language in early 2023 and then adding more languages successively. We haven't decided on the 2nd language yet, but JavaScript and Golang are among the candidates.
Ash Rahman 🎮
Looks helpful. Would need to try it. Best wishes on the launch!
Tim Gilboy
@ashrahman Thanks Ash! I'd love to hear your feedback once you get a chance to try it out. Please reach out at any time if you have any questions
Gregoire Lecomte
Congratulation Sourcery!!! What languages will you support?
Tim Gilboy
@gregoire_lecomte thank you! We're looking to start supporting new languages early next year, but we haven't fully settled on which the first new languages will be. Any preferences?