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
Close
Hashes for remove_empty_comment-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5203437db08a7a9547041f540617286a8169c01db97f41f70352e6bf1381374f |
|
MD5 | ae74a3ffd2eb0ab14b371a7344872a43 |
|
BLAKE2b-256 | 2ed44dda36f67bfa64d6adad5b95d796dca6adb07f379ae49f9ebcaf905e0ad9 |