Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

PyLint plugin to allow TUSAR output format

Project Description

.. -*- restructuredtext -*-

PyLint To TUSAR plugin

This is a PyLint__ plugin that enables a **TUSAR** output format.


.. 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__.


For more information about **TUSAR**, please read `Jenkins wiki`__.



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.


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\">
<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 path="pylint2tusar\">
<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"/>
<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"/>

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(205.9 kB) Copy SHA256 Hash SHA256
Windows Installer 2.7 Feb 1, 2012
(9.2 kB) Copy SHA256 Hash SHA256
Source None Feb 1, 2012

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers