This module provides a lint command to run several well-known python static analysis tools, including prospector, flake8, pyroma and pylint.
Travis CI (Ubuntu) | AppVeyor (Windows) | Coverage | PyPI | Licence |
---|---|---|---|---|
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.