Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

friendly-sonar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

friendly-sonar

Python3 library to statically analyze software using SonarLint and collect data in a Python Object, CSV, or JSON data format

  • 0.0.1.dev4
  • PyPI
  • Socket score

Maintainers
1

friendly_sonar

Build Status

Python3 library to statically analyze software using SonarLint and collect data in a Python Object, CSV, or JSON data format.

Website: https://luiscruz.github.io/friendly_sonar/

Install

  1. Download SonarQube CLI

  2. A) Add environment variable $SONARLINT_HOME with directory of your sonar lint installation:

export SONARLINT_HOME='~/sonarlint-cli-2.1.0.566'

OR

  1. B) Add environment variable $SONARLINT_HOME with directory of your sonar lint installation:
export PATH=~/sonarlint-cli-2.1.0.566/bin:$PATH
  1. 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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc