No project description provided
Project description
remove-empty-comment
Little pre-commit script that remove empty comments from your code
If you feel the need for separators in your code, you might as well start using functions.
Installation
- repo: https://github.com/Pierre-Sassoulas/remove-empty-comment/
rev: 1.0.2
hooks:
- id: remove-empty-comment
Before
###############
# main function
###############
def main():
a = 1
b = 2
c = a + b
#
print(c)
After
# main function
def main():
a = 1
b = 2
c = a + b
print(c)
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file remove_empty_comment-1.0.2-py3-none-any.whl.
File metadata
- Download URL: remove_empty_comment-1.0.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5203437db08a7a9547041f540617286a8169c01db97f41f70352e6bf1381374f
|
|
| MD5 |
ae74a3ffd2eb0ab14b371a7344872a43
|
|
| BLAKE2b-256 |
2ed44dda36f67bfa64d6adad5b95d796dca6adb07f379ae49f9ebcaf905e0ad9
|