Skip to main content

Creation and maintenance of `exclude` file lists for common code quality tools.

Project description

debtcloset

Creation and maintenance of "exclude" file lists for common code quality tools.

Integrating a new code quality tool in an established repo typically requires a transitional period of ignoring/excluding a significant fraction of files for pre-commit checks or continuous integration testing. During such a transition, your technical "debt closet" is the collection of excluded files. debtcloset streamlines the creating and maintenance of your debt closet and includes tools to keep it up-to-date to reflect code changes.

Quick start

We're on pypi so you can just pip install debtcloset or poetry add debtcloset etc.

pyright with pyproject.toml

Update your pyproject.toml's pyright configuration to exclude all files that currently fail pyright checks:

from debtcloset.pyright.toml import exclude
exclude()

ruff with pyproject.toml

Update your pyproject.toml's pyright configuration to exclude all files that currently fail ruff checks:

from debtcloset.ruff.toml import exclude
exclude()

Development

git clone git@github.com:zkurtz/debtcloset.git
cd debtcloset
pip install uv
uv sync
source .venv/bin/activate
pre-commit install

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

debtcloset-0.4.1.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

debtcloset-0.4.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file debtcloset-0.4.1.tar.gz.

File metadata

  • Download URL: debtcloset-0.4.1.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.11

File hashes

Hashes for debtcloset-0.4.1.tar.gz
Algorithm Hash digest
SHA256 1f56004822ee8e43826eff9636d9b0dd032faeb1a40a818a6bb895ead9c8b036
MD5 3bb44256b96b7473a9d6d1908a758eba
BLAKE2b-256 1a8bb979522138e451ccb961e859dc14dd42e04509d43f52b34efceece575f47

See more details on using hashes here.

File details

Details for the file debtcloset-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for debtcloset-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 46ed42d3a0e51547b3a9d92a152028e7f85065475dbc95b2c3d01e0000d03529
MD5 6b01e76053e6f73f5f8b769f62180fb2
BLAKE2b-256 c29db9862e4bbf921da45d0ec5280185f9a0b5e064105f65987d027eff63b3dd

See more details on using hashes here.

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