Automated Code Refactoring With Sourcery
Refactoring codebase is an important yet time-consuming task. Moreover, at times, one might unknowingly introduce errors during refactoring.
This takes additional time for testing and gets tedious with more refactoring, especially when the codebase is big.
Rather than following this approach, use Sourcery. It's an automated refactoring tool that makes your code elegant, concise, and Pythonic in no time.
With Sourcery, you can refactor code in many ways. For instance, you can refactor scripts through the command line, as an IDE plugin in VS Code and PyCharm, etc.
Read my full blog on Sourcery here: Medium.
Find the code for my tips here: GitHub.
I like to explore, experiment and write about data science concepts and tools. You can read my articles on Medium. Also, you can connect with me on LinkedIn.