Skip to main content

Utility to ensure no more pdb breakpoints are in Python files.

Project description

Ensure that there are no more pdb breakpoints in your code before committing.

Installation: Pre-commit Hook

First, please make sure that pre-commit is installed in your environment.

Then, either create a .pre-commit-config.yaml file in the top level of your repository or add an entry to repos if you already have a .pre-commit-config.yaml :

repos:
  - repo: https://github.com/kklein/no-more-breakpoints
    rev: 0.1.0
    hooks:
      - id: no-more-breakpoints

Installation: CLI tool

You can install no-more-breakpoints either via PyPI

$ pip install no-more-breakpoints

or via conda-forge

$ conda install no-more-breakpoints -c conda-forge

Development setup

$ git clone https://github.com/kklein/no-more-breakpoints
$ cd no-more-breakpoints
$ pixi run tests/

You might need to install pixi first, see these instructions for reference.

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

no_more_breakpoints-0.1.0.tar.gz (39.2 kB view hashes)

Uploaded Source

Built Distribution

no_more_breakpoints-0.1.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

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