Friday, October 30, 2020

Django Doctor: a bot that suggests fixes to code smells in your GitHub Pull Request

Today I released Django Doctor: it's a bot that suggests fixes to any code smells it finds in your GitHub Pull Request. Just click "approve" to commit the fix for low effort code improvement!

I made this after realising I can automate some of the dev effort during code review: there are some checks we perform during code review that a bot can pick up - allowing us to spend more of our time on things bots are not good at.

Plus it suggests the fix so it does not show problems - it comes to table with solutions ;) Much quicker than reading a linter error in CI, locating the line in the file, fixing it, commiting and pushing to remote.

Scan your entire codebase at

Or install the GitHub bot:

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

No comments:

Post a Comment