Skip to main content

✨ Enhance your Python repository by adding cutting-edge development tools

Project description

Pimp My Repo

🧙🏼‍♂️ A CLI wizard designed to modernize your Python repositories by adding essential development tools.

PyPI CI codecov Ruff Type checked: mypy

Features

pimp-my-repo will help you:

  • 🚀 Integrate uv for modern dependency management.
  • ✨ Configure ruff to keep your code clean and consistent.
  • 🐍 Integrate mypy for static type checking to catch potential bugs early.
  • 🏖️ Set up pre-commit hooks to ensure code quality before changes are committed.
  • 🎢 Generate a justfile with common commands like install, test and lint.
  • 🏗️ Add CI job configurations for GitHub Actions or GitLab Pipeline to enforce your rules in a continuous integration environment.

Why?

Adopting strict linting and type checking in a legacy Python repo is painful — there are hundreds of existing violations to deal with before you can even turn the rules on. pimp-my-repo automates that process: it configures common linting tools in strict mode, automatically suppresses all existing violations (via # noqa / # type: ignore comments), and commits the result. The goal is a clean baseline instantly — after which new code must comply. Once merged, you can gradually revisit and fix the suppressed issues at your own pace.

Usage

In your repository root, run:

uvx pimp-my-repo

Alternatively, install pimp-my-repo globally and use it in any repository:

# With UV:
uv tool install pimp-my-repo

# With pipx:
pipx install pimp-my-repo

License

This project is licensed under the MIT License - see the LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pimp_my_repo-0.4.3.tar.gz (141.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pimp_my_repo-0.4.3-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

Details for the file pimp_my_repo-0.4.3.tar.gz.

File metadata

  • Download URL: pimp_my_repo-0.4.3.tar.gz
  • Upload date:
  • Size: 141.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pimp_my_repo-0.4.3.tar.gz
Algorithm Hash digest
SHA256 91040e70db5cb5d06313e9eb26595b8a17af529c7e602c91b581f88024eea29c
MD5 402de343e4b793df1ddedd3d1c2484a8
BLAKE2b-256 4d176b2d60563f7a58f6dd3f6ef23289947d9e349a4107d826928a0747758e6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pimp_my_repo-0.4.3.tar.gz:

Publisher: ci.yml on asaf-kali/pimp-my-repo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pimp_my_repo-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: pimp_my_repo-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 49.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pimp_my_repo-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5e751e00d3fb5552bae361902a84c6fcc1b6e2d0e1c0b02ae396bae7756e726f
MD5 39ff1384daa195fb71096df81bcdce1b
BLAKE2b-256 4b8440e697ffdde66d24da44c194f2e086c31c3b1bcabfb574dbc5fd0bae97b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pimp_my_repo-0.4.3-py3-none-any.whl:

Publisher: ci.yml on asaf-kali/pimp-my-repo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page