Remove trailing whitespace from code and other plain-text files.
Project description
rmspace
Remove trailing whitespace from code and other plain-text files.
Usage
pip install rmspace
# Remove trailing whitespace.
python -m rmspace ./rmspace/rmspace/main.py
# Remove trailing whitespace, return 1 if any file was formatted.
# This is intended for linting in CI flows.
python -m rmspace ./rmspace/rmspace/main.py --check
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
rmspace-7.tar.gz
(4.0 kB
view details)
Built Distribution
rmspace-7-py3-none-any.whl
(4.6 kB
view details)
File details
Details for the file rmspace-7.tar.gz
.
File metadata
- Download URL: rmspace-7.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32fc696b93eb3350154df0703a31ab3d28825e0520437d2c146b8edad7b5f6cf |
|
MD5 | f168eda92df3752c5305e2e5e7ecc5a7 |
|
BLAKE2b-256 | 026616d6b640e953529bc467f497699f478e3b81acb2037c1131aa2414861c0c |
File details
Details for the file rmspace-7-py3-none-any.whl
.
File metadata
- Download URL: rmspace-7-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c19e1eadc648a1e5df2efef12bad5c1ec753f46e82c05262c38e221a1a21b0ab |
|
MD5 | a1baaf3198a39af6b4881305bc550543 |
|
BLAKE2b-256 | fc33ee3ba17719a9d5b8216acc0172c4e99311d8e129c8fd2cbfee80400314f3 |