Integrations

PragyaLint is a single self-contained Python package with zero runtime dependencies — integrating it is usually one install plus one command. This page is the map; the linked pages have the details.

The one prerequisite

Everything below assumes the pragyalint executable is on PATH:

pip install pragyalint
pragyalint --version

Python 3.11 or newer. If tools you shell out from (editors, CI runners) can't find it, set the executable's absolute path in their config — see Errors & troubleshooting.

Editor

VS Code — the official PragyaLint extension publishes dead-code findings to the Problems panel, colored by confidence, and runs fixes as editor commands. Install it from the Marketplace or with code --install-extension IndianCoder3.sks-pragyalint.

CI / automation

GitHub Actions, GitLab CI, pre-commit — see CI / automation for ready-to-copy workflows using --fail-on to gate merges and --sarif to feed Code Scanning.

Library use

Python APIanalyze(), apply_fixes(), and the report model let you embed PragyaLint in your own tooling. See Python API, and Plugins for custom finder passes.

A typical workflow

# Local: review what's dead
pragyalint

# Local: preview an automated prune
pragyalint --fix --dry-run

# CI on every push: block merges that add high-confidence dead code
pragyalint --fail-on high