Skip to main content

Removes commented-out code.

Project description

Build status

Remove commented out code from Python files.

With modern revision control available there is no reason to save junk comments to the repository. eradicate helps cleans things up existing junk.

Example

$ eradicate --in-place example.py

Before:

#a = 3
a = 4
#foo(1, 2, 3)

def foo(x, y, z):
    #print('hello')
    print(x, y, z)

after:

a = 4

def foo(x, y, z):
    print(x, y, z)

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

eradicate-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file eradicate-0.0.1.tar.gz.

File metadata

  • Download URL: eradicate-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for eradicate-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ba7bcf5f4377a191096973a55a501da37d6957d5349857b7871b82069f5f0633
MD5 4589296b59bf58fc0eb5940cc635bbdd
BLAKE2b-256 d2caa5a967f31ef35bbf75bec65ab4d75998cb627a7e5b3f975008780de5d3c3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page