Skip to main content

Bash linting tool

Project description

Simple Bash linting tool written in Python.

https://travis-ci.org/skudriashev/bashlint.svg?branch=master

Installation

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

Using pip to install bashlint:

$ pip install bashlint

You can download the source tarball and install bashlint 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 Distribution

bashlint-0.1.1.tar.gz (3.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page