Skip to main content

Provides a 'polysquarelint' command for setuptools

Project description

This module provides a lint command to run several well-known python static analysis tools, including prospector, flake8, pyroma and pylint.

Status

| Travis CI (Ubuntu) | AppVeyor (Windows) | Coverage | PyPI | Licence | |——————–|——————–|———-|——|———| |`|Travis| <http://travis-ci.org/polysquare/polysquare-setuptools-lint>`_|`|AppVeyor| <https://ci.appveyor.com/project/smspillaz/polysquare-setuptools-lint-7r9ws>`_|`|Coveralls| <http://coveralls.io/polysquare/polysquare-setuptools-lint>`_|`|PyPIVersion| <https://pypi.python.org/pypi/polysquare-setuptools-lint>`_`|PyPIPythons| <https://pypi.python.org/pypi/polysquare-setuptools-lint>`_|`|License| <http://github.com/polysquare/polysquare-setuptools-lint>`_|

Usage

Options for 'PolysquareLintCommand' command:
  --suppress-codes   Error codes to suppress
  --exclusions       Glob expressions of files to exclude
  --stamp-directory  Where to store stamps of completed jobs

Pass --exclude=PAT1,PAT2 to exclude glob-expression patterns PAT1 and PAT2 from the list of files to be linted.

Pass --suppress-codes=CODE1,CODE2 to suppress reported codes globally.

All linter errors can be suppressed inline by using suppress(CODE1,CODE2) as either a comment at the end of the line producing the error or the line directly above it.

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

polysquare-setuptools-lint-0.0.52.tar.gz (12.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