— To migrate an existing account, please see our Migration Guide.
Language: Python
Checks: 50+
Categories: Bug Risk, Clarity, Compatibility, Complexity, Duplication, Performance, Security, Style
SonarLint Version: 2.1
SonarPython Version: 1.8.0
SonarPython and SonarLint are products developed by SonarSource.
SonarLint offers the ability to scan code for issues before checking it in, with minimal configuration.
To enable SonarPython analysis, add the following to your .codeclimate.yml
configuration file:
plugins:
sonar-python:
enabled: true
More information about the CLI is available in the README here: https://github.com/codeclimate/codeclimate
Telling where the test classes are, also helps Sonar to use specific rules for those files.
plugins:
sonar-python:
enabled: true
config:
tests_patterns:
- src/test/**
- app/src/test/**
Setting a minimum severity forces Sonar to not create negligible issues.
Possible values are: info
, minor
, major
(default), critical
, blocker
plugins:
sonar-python:
enabled: true
config:
minimum_severity: critical
For detailed information about SonarPython, please check out the documentation here:
https://www.sonarsource.com/products/codeanalyzers/sonarpython.html
Code Climate Quality is being replaced with Qlty Cloud
— New users should sign up directly at qlty.sh.
— To migrate an existing account, please see our Migration Guide.
Language: Python
Checks: 50+
Categories: Bug Risk, Clarity, Compatibility, Complexity, Duplication, Performance, Security, Style
SonarLint Version: 2.1
SonarPython Version: 1.8.0
SonarPython and SonarLint are products developed by SonarSource.
SonarLint offers the ability to scan code for issues before checking it in, with minimal configuration.
To enable SonarPython analysis, add the following to your .codeclimate.yml
configuration file:
plugins:
sonar-python:
enabled: true
More information about the CLI is available in the README here: https://.com/codeclimate/codeclimate
Telling where the test classes are, also helps Sonar to use specific rules for those files.
plugins:
sonar-python:
enabled: true
config:
tests_patterns:
- src/test/**
- app/src/test/**
Setting a minimum severity forces Sonar to not create negligible issues.
Possible values are: info
, minor
, major
(default), critical
, blocker
plugins:
sonar-python:
enabled: true
config:
minimum_severity: critical
For detailed information about SonarPython, please check out the documentation here:
https://www.sonarsource.com/products/codeanalyzers/sonarpython.html
Updated about 2 months ago