Skip to main content

Linting tool for whitespace

Project description

Simple Linting tool for whitespace written in Python based on [bashlint](https://github.com/skudriashev/bashlint)

Installation

whitespacelint can be installed via the Python Package Index or from source.

Using pip to install whitespacelint:

$ pip install whitespacelint

You can download the source tarball and install whitespacelint as follows:

$ python setup.py install

or in development mode:

$ python setup.py develop

Rules list

W201 Trailing whitespace: Trailing whitespaces are superfluous:

Okay: echo Test#
W201: echo Test #

W202 Blank line contains whitespace: Trailing whitespaces on blank lines are superfluous:

Okay: #
W202:  #

W203 Trailing semicolon: Trailing semicolons are superfluous:

Okay: echo Test#
W203: echo Test;#

Project details


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

whitespacelint-1.1.0-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file whitespacelint-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for whitespacelint-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9af318c8c13e2a354f00dbf8218a91efb20ec655ea5b48325c332b26ad758622
MD5 c20bde4a0b85cd06dcdf74dfe7f98715
BLAKE2b-256 4c204faedd43c90194186b43e5f8c41c3779ff477e1600830bfabf8f9f588ff6

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