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.

Files for polysquare-setuptools-lint, version 0.0.52
Filename, size File type Python version Upload date Hashes
Filename, size polysquare-setuptools-lint-0.0.52.tar.gz (12.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page