There’s a new tool available you will likely find useful if you write code in Python. We recently made Dlint, our approach to Python static analysis, publicly available to the community for your use, feedback, and contributions.
Static analysis is an effective, low-cost way to identify potential problems in code. Our approach with Dlint aims to overcome some common challenges, such as how to identify dangerous uses of Python and make more informed, complex queries.
The initial release of Dlint contains a set of rules that check for common best-practices to writing secure Python. It’s easy to add new rules too, so you can contribute back to the community.
If you’d like to use Dlint on your next project, you will find the code on Github. Give it a shot and let us know what you think!
For more info, check out our blog post here.