======================
PyLint To TUSAR plugin
======================
This is a PyLint__ plugin that enables a **TUSAR** output format.
__ http://www.logilab.org/857
.. note:: **TUSAR** stands for *Thales Unified Sofware Analysis Report*.
It is a generic XML metric format composed of 4 categories:
* Coverage
* Measures
* Test
* Violations
**TUSAR** is defined by multiple XML Schema Definitions that can be found here__.
__ https://svn.jenkins-ci.org/trunk/hudson/dtkit/dtkit-format/dtkit-tusar-model/src/main/resources/com/thalesgroup/dtkit/tusar/model/xsd/
For more information about **TUSAR**, please read `Jenkins wiki`__.
__ https://wiki.jenkins-ci.org/display/JENKINS/DTKit
Installation
============
You can install the ``pylint2tusar`` package with ``easy_install``
or ``pip``: ::
$ easy_install pylint2tusar
Or with the windows installer available on this page.
.. attention:: ``pylint2tusar`` has a dependency to ``pylint``. If you don't use
``easy_install`` or ``pip``, dependencies will not be installed automatically.
You will have to install them separately by hand.
Usage
=====
Once ``pylint2tusar`` is installed, you can invoke pylint and choose the **TUSAR**
output format: ::
$ pylint --load-plugins=pylint2tusar --output-format=tusar <packages to analyse>
No config file found, using default configuration
<?xml version="1.0" encoding="utf-8"?>
<tusar:tusar xmlns:duplications="http://www.thal......ions/v4">
<violations:violations tool="pylint">
<violations:file path="pylint2tusar\__init__.py">
<violations:violation key="C0111" line="1" message="Missing docstring"/>
<violations:violation key="C0111" line="21" message="Missing docstring"/>
<violations:violation key="W0212" line="23" message="Access to a protected member"/>
</violations:file>
<violations:file path="pylint2tusar\reporter.py">
<violations:violation key="C0301" line="30" message="Line too long (90/80)"/>
<violations:violation key="C0301" line="31" message="Line too long (82/80)"/>
<violations:violation key="C0301" line="33" message="Line too long (98/80)"/>
<violations:violation key="C0301" line="73" message="Line too long (84/80)"/>
<violations:violation key="C0301" line="87" message="Line too long (89/80)"/>
<violations:violation key="C0301" line="93" message="Line too long (93/80)"/>
<violations:violation key="C0301" line="104" message="Line too long (83/80)"/>
<violations:violation key="C0111" line="1" message="Missing docstring"/>
<violations:violation key="C0111" line="20" message="Missing docstring"/>
<violations:violation key="C0111" line="69" message="Missing docstring"/>
<violations:violation key="R0913" line="99" message="Too many arguments (6/5)"/>
<violations:violation key="C0111" line="99" message="Missing docstring"/>
<violations:violation key="W0613" line="99" message="Unused argument 'obj'"/>
<violations:violation key="C0323" line="152" message="Operator not followed by a space"/>
</violations:file>
</violations:violations>
<measures:measures tool="pylint">
<duplications:duplications tool="pylint"/>
<size:size tool="pylint">
<size:resource type="PROJECT" value="">
<size:measure key="statements" value="107"/>
<size:measure key="lines" value="141"/>
<size:measure key="ncloc" value="120"/>
<size:measure key="files" value="2"/>
<size:measure key="comment_lines" value="14"/>
<size:measure key="duplicated_lines" value="0"/>
<size:measure key="classes" value="1"/>
<size:measure key="functions" value="6"/>
</size:resource>
</size:size>
</measures:measures>
</tusar:tusar>
Metadata
Release files for pylint2tusar 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylint2tusar-0.3.zip | 9.2 kB | Without provenance | Details for pylint2tusar-0.3.zip |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pylint2tusar-0.3.win32.exe | Details for pylint2tusar-0.3.win32.exe |
Total release size: 215.1 kB
Release files / pylint2tusar-0.3.zip
| Download URL | pylint2tusar-0.3.zip |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5deed61a5f59cf80e92be0ffd4726353f844bb60bd9f590e77ad25d1db526cfa
|
|
BLAKE2b-256 checksum How to use checksums |
0d6651989af46193846d22df4db0033d545d977843bb61f76cda746d3bd5e169
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pylint2tusar-0.3.win32.exe
| Download URL | pylint2tusar-0.3.win32.exe |
|---|---|
| Size | 205.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fcd0ba4297cbfd478d66f33e538d5b8fa9dfad628791cfa6a7460aa7bcab9c3
|
|
BLAKE2b-256 checksum How to use checksums |
8d67dc79d8b7412d7c336803ba53cc9acb396a5699082ed6547f8348c481b972
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pylint2tusar 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.