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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file no_more_breakpoints-0.2.0.tar.gz
.
File metadata
- Download URL: no_more_breakpoints-0.2.0.tar.gz
- Upload date:
- Size: 45.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1daf1dfff1a86d68221c4d0c72417cd9611eeea132511a388d5845fbb37de177 |
|
MD5 | d8127de707a65861e35b0800dfaced8f |
|
BLAKE2b-256 | 1b4a2ee9f5884e58c8956265d640102a9b7ede28156f4c199dc50d69ff07419a |
File details
Details for the file no_more_breakpoints-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: no_more_breakpoints-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 464506f9ba2730df33cfdf0be6a17a0d7481f7db68e4d60e11b32626b99b1359 |
|
MD5 | cc88c06006119a3a981fc9d95f8e5a7a |
|
BLAKE2b-256 | 245b0b64c4d2dfbaa7bb3010d49ea2a008137e7b7f258227f91edeb6e57b0eb4 |