Run all code quality checks on the codebase.
Run comprehensive code quality checks including linting, type checking, security scanning, and dependency auditing. Use it before commits or CI to catch issues early, and add --fix to automatically correct style and import problems.
/plugin marketplace add varaku1012/aditi.code/plugin install code-quality@aditi-code-pluginsRun all code quality checks on the codebase.
/quality-check # Check entire project
/quality-check src/ # Check specific directory
/quality-check --fix # Auto-fix issues
/quality-check --fix src/api/ # Fix specific path
ruff check . --output-format=grouped
mypy . --ignore-missing-imports
bandit -r . -ll
pip-audit
=== Code Quality Report ===
✅ Linting: 0 issues
⚠️ Type Checking: 3 warnings
❌ Security: 1 critical issue
✅ Dependencies: All secure
Total Issues: 4
- Critical: 1
- Warning: 3
- Info: 0
Details:
[Detailed findings listed here]
[tool.ruff]
line-length = 88
select = ["E", "F", "W", "I", "N", "UP", "B", "C4"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_ignores = true
[tool.bandit]
exclude_dirs = ["tests", "venv"]
With --fix flag:
Not auto-fixed: