HTML report generator from prospector static analyzer tool output.
Reason this release was yanked:
Consider updating, as v1.0.4 repoorted to be buggy.
Project description
prospector-html
HTML report generator from prospector static analyzer tool JSON output.
Synopsis
pip install prospector
pip install prospector2html
cd <python-project-sources-dir>
prospector --no-style-warnings --strictness medium --output-format json > prospector_report.json
prospector-html --input prospector_report.json
cat report.html
Message filtering
Sometimes it is necessary to filter prospector result by content of the message,
rather than filter-out the whole error class by it's suppression.
For example prospector would always complains at usage of _meta
member in Django projects.
In this case one could fileter such messages by specifing it in prospector-html config file.
.prospector-html.yaml
by default. See details in the source of sample config or use following example:
# cat .prospector-html.yaml
filter:
message:
# Filter by exact match
- "Message to filter"
- Oter message to filter
message_re:
# Regexps to filter
- 'Exactly one space required after comma.*'
- 'Exactly one space required before assignment.*'
TODO
- ???.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for prospector2html-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94cd5c77af996c4fe2dc557a48a070003f4c1993ea2731bfeb71b8c2cd0e17a5 |
|
MD5 | f90578cdcfe33c0cb488823214ff06f2 |
|
BLAKE2b-256 | ef4666708f27ac2f571202b45d9a10449a0fe361868319581cb1036e40e0ea75 |
Hashes for prospector2html-1.0.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 201b9d94ba23d294c9ce736b1a07a3c41c7e03fa8325c82bc96c1fdbc3c15b59 |
|
MD5 | 38f45af117fef31bedd23d1163039a59 |
|
BLAKE2b-256 | 04880ada6df71a8514cbf1d56774dbdca136979bcf739c037a23bf341ff706c4 |