friendly-sonar-0.0.1.dev4
توضیحات
Python3 library to statically analyze software using SonarLint and collect data in a Python Object, CSV, or JSON data format
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | friendly-sonar-0.0.1.dev4 |
| نام | friendly-sonar |
| نسخه کتابخانه | 0.0.1.dev4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Luis Cruz |
| ایمیل نویسنده | luismirandacruz@gmail.com |
| آدرس صفحه اصلی | https://luiscruz.github.io/ |
| آدرس اینترنتی | https://pypi.org/project/friendly-sonar/ |
| مجوز | MIT |
# friendly_sonar
[](https://travis-ci.org/luiscruz/friendly_sonar)
Python3 library to statically analyze software using [SonarLint](http://www.sonarlint.org/) and collect data in a Python Object, CSV, or JSON data format.
Website: https://luiscruz.github.io/friendly_sonar/
## Install
1. Download [SonarQube CLI](https://bintray.com/sonarsource/Distribution/org.sonarsource.sonarlint-cli/_latestVersion)
2. A) Add environment variable `$SONARLINT_HOME` with directory of your sonar lint installation:
```
export SONARLINT_HOME='~/sonarlint-cli-2.1.0.566'
```
**OR**
2. B) Add environment variable `$SONARLINT_HOME` with directory of your sonar lint installation:
```
export PATH=~/sonarlint-cli-2.1.0.566/bin:$PATH
```
3. Install Python library
```
$pip install friendly_sonar
```
## Usage
```
import friendly_sonar.lint
# run sonar on current directory
results = friendly_sonar("./")
print results
```
## Contributing
Feel free to create pull requests.
Be sure that your code passes our checkers:
```
$tox -e py36
```
### Tests
Tests are still not being made properly.
So far you can check whether it is working by running:
```
$python -m friendly_sonar.lint
```
نیازمندی
| مقدار | نام |
|---|---|
| - | click |
نحوه نصب
نصب پکیج whl friendly-sonar-0.0.1.dev4:
pip install friendly-sonar-0.0.1.dev4.whl
نصب پکیج tar.gz friendly-sonar-0.0.1.dev4:
pip install friendly-sonar-0.0.1.dev4.tar.gz