Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This plugin enables the analysis of Python projects.

It is compatible with the SonarQube Eclipse plugin to track issues while coding. It is also compatible with the Issues Report plugin to run pre-commit local analysis.

Dependencies

This plugin has the following dependencies:

  • Pylint must be installed to check Pylint coding rules.

Installation

  1. Install the Python plugin through the Update Center or download it into the SONAR SONARQUBE_HOME/extensions/plugins directory
  2. Restart the Sonar serverSonarQubeserver

Usage

Run

...

an Analysis with the

...

SonarQube Runner (Recommended Way)

To launch a Sonar run an analysis of your Python project, use the Sonar SonarQube Runner.

A sample project is available on github that can be browsed or downloaded/projects/languages/python/python-sonar-runner.

Run

...

an Analysis with the other Analyzers

Maven and Ant can also be used to launch analysis on Python projects.

...

New coding rules can be added using XPath. See the related documentation.

To navigate the AST, download the SSLR Python Toolkit.

Change Log

JIRA Issues
anonymoustrue
titleVersion 1.2 (unreleased)
renderModestatic
columnstype;key;summary;priority;status
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18826&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleVersion 1.1
renderModestatic
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18716&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleVersion 1.0
renderModestatic
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18636&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleVersion 0.1
renderModestatic
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18078&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000