from Hacker News

Show HN: Django Code Improvement Suggestion Engine

by rikatee on 5/20/21, 10:37 PM with 1 comments

  • by rikatee on 5/20/21, 10:37 PM

    6 months ago I released Django Doctor to review github pull requests.

    Now it can be installed as a command line tool via `pip install django-doctor`.

    So now instead of reviewing deltas in GitHub PRs it runs locally and analyses your entire codebase to suggests improvements.

    A nifty trick is it uses the browser to allow you to pick and choose which suggestions to take and then adds `# django-doctor: skip foo` to lines you don't want changing.

    Hopefully after 6 months, 1000 installations on github, and tens of thousands of builds in the cloud it shouldn't have too many bugs when running locally! Let me know!