polysquare-setuptools-lint

Provides a 'polysquarelint' command for setuptools


Keywords
development, linters
License
MIT
Install
pip install polysquare-setuptools-lint==0.0.52

Documentation

Polysquare Setuptools Linter

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 AppVeyor Coveralls PyPIVersionPyPIPythons License

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.