A SonarQube-like static analysis CLI for Python projects.
Project description
supersonar
supersonar is a lightweight, SonarQube-inspired static analysis CLI for Python projects.
It is designed for local use and CI pipelines via pip install.
Quick start
pip install .
supersonar scan . --format json
CI usage
pip install supersonar
supersonar scan . --format sarif --out reports/supersonar.sarif --fail-on high
Config (supersonar.toml)
[scan]
exclude = [".git", ".venv", "venv", "build", "dist", "__pycache__"]
[quality_gate]
fail_on = "high"
max_issues = 0
[report]
format = "json"
Rule coverage (MVP)
SS001- dangerouseval/execSS002- broadexcept Exceptionor bareexceptSS003- hardcoded secret-like tokensSS004-TODO/FIXMEmarkers
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
supersonar-0.1.0.tar.gz
(7.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file supersonar-0.1.0.tar.gz.
File metadata
- Download URL: supersonar-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f97af7f6a446f96b869af78adb3d37cca8169206f632b1de10af69cd9bd9b08
|
|
| MD5 |
7049c7183f6d700384b38b4cba23b9a0
|
|
| BLAKE2b-256 |
6cf75b525638c55b82b1c0d28033dedf095a4922659f1b31ea3bfa88155e8276
|
File details
Details for the file supersonar-0.1.0-py3-none-any.whl.
File metadata
- Download URL: supersonar-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6cdf540c5cfcefafaa73dbf35b872f6aa5bc6c900c3196971cac004bf8bfa35
|
|
| MD5 |
18fda6697fc1d6b2a34853bc6ef2ec7d
|
|
| BLAKE2b-256 |
54855dfb73ae31b93ef0b74942d59a6c4c99e19339c40881f7003f71c77d2813
|