Bazaar trailing whitespace killer plugin
The only thing this plugin does is checks all files you’re committing and unconditionally kills trailing whitespaces from them. Additionally file ending is normalized - all empty lines at the end of file being committed are stripped and one is added (final newline is common and is expected usually).
You can install it system-wide:
pip install bzr-killtrailing
But please don’t try to uninstall it with pip, because bzrlib is not declared as a namespace by Bazaar, which means that pip will want to remove whole bzrlib (read: bazaar itself).
Alternatively, you can install it in your home directory:
mkdir -p ~/.bazaar/plugins/ cd !$ rm -rf killtrailing # clean up if you've had it before curl http://hg.piranha.org.ua/bzr-killtrailing/archive/tip.tar.gz | tar xf - mv bzr-killtrailing-* killtrailing
Or, alternatively, if you have Mercurial installed, you could do that:
mkdir -p ~/.bazaar/plugins/ cd !$ hg clone http://hg.piranha.org.ua/bzr-killtrailing/ killtraling
You can check if a plugin is installed and ready to work by issuing this command:
bzr plugins | grep killtrailing
That’s it! Enjoy. :)
Metadata
Release files for bzr-killtrailing 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bzr-killtrailing-1.1.tar.gz | 2.1 kB | Without provenance | Details for bzr-killtrailing-1.1.tar.gz |
Release files / bzr-killtrailing-1.1.tar.gz
| Download URL | bzr-killtrailing-1.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1a27d9e23a77399f64707ef2847fde8e971cde7d80c28fdea9e35ed3fead325
|
|
BLAKE2b-256 checksum How to use checksums |
1b66cdd44833af4ae325c96e1bab6214b4b6cf77cd97b317f3f7e6d9c47046ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bzr-killtrailing 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.