Skip to main content

remove-empty-comment

Little pre-commit script that remove empty comments from your code

PyPI version PRs Welcome

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)

Metadata

Release files for remove-empty-comment 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for remove-empty-comment 1.0.2
File Interpreter ABI Platform
remove_empty_comment-1.0.2-py3-none-any.whl Python 3 none any Details

Release files / remove_empty_comment-1.0.2-py3-none-any.whl

Download URL remove_empty_comment-1.0.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5203437db08a7a9547041f540617286a8169c01db97f41f70352e6bf1381374f
BLAKE2b-256 checksum
How to use checksums
2ed44dda36f67bfa64d6adad5b95d796dca6adb07f379ae49f9ebcaf905e0ad9
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for remove-empty-comment 1.0.2

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.

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page