r/Python • u/AutoModerator • Apr 04 '26
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
43
Upvotes
r/Python • u/AutoModerator • Apr 04 '26
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
1
u/kaliman2go Apr 13 '26
pimp-my-repo - Instantly modernize legacy Python repos
I built this because adding strict linting to an old project is usually a nightmare. Most developers give up because they don't have time to fix hundreds of inherited errors just to get a passing build. This tool fixes that friction.
What My Project Does
It’s a CLI tool that automates the migration of any Python repo to a modern stack (uv, ruff, and strict mypy).
The "magic trick" is that it doesn't just add a config file; it runs the linters and automatically injects
# noqaor# type: ignorecomments into every existing violation. This gives you a passing CI on "strict" mode immediately, allowing you to stop the bleeding for new code and fix the old debt incrementally as you touch the files.Target Audience
Developers maintaining legacy codebases who want to adopt modern tooling without a massive cleanup phase.
Teams moving from pip/poetry to
uv.Comparison
vs. manual setup: Instead of spending hours configuring
pyproject.tomland resolving initial conflicts, this does it in one command.vs. ruff's baseline file: I’ve found that putting suppressions directly in the code (with
# noqa) makes the tech debt more visible and easier to clean up during regular PRs compared to a hidden baseline file.Try it out:
uvx pimp-my-repoGitHub: https://github.com/asaf-kali/pimp-my-repo