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 details)

Uploaded Source

File details

Details for the file polysquare-setuptools-lint-0.0.52.tar.gz.

File metadata

File hashes

Hashes for polysquare-setuptools-lint-0.0.52.tar.gz
Algorithm Hash digest
SHA256 2c65b6796a1a0091c6000c2b377a5a7eb853ff62d6234d97ba672ef71fca31c9
MD5 bf6da854b9dc96ff8542dcbcdb3478c4
BLAKE2b-256 bbbf604c8c88d790fa440f76200eab7ee219033f43965baff19a43400d8c34e3

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