Skip to content

mithranm/vibelint

Repository files navigation

vibelint

Python code quality linter with plugin-based validators and LLM-powered analysis workflows.

Features

  • Plugin-based validators - Extensible architecture for custom code quality rules
  • AI-powered analysis - LLM integration for semantic validation and architectural analysis
  • Justification workflow - Analyzes project structure and provides architectural recommendations
  • Multiple output formats - JSON, Markdown, SARIF, natural language
  • Configuration management - TOML-based config with fail-fast validation

Installation

pip install -e .

Quick Start

# Run validators on current directory
vibelint check .

# Run with automatic fixing
vibelint check --fix .

# Run justification workflow for architectural analysis
vibelint justification .

# Show available validators
vibelint check --help

Configuration

Add to pyproject.toml:

[tool.vibelint]
# Validator severity overrides
rules = { EMOJI-USAGE = "BLOCK", DICT-GET-FALLBACK = "WARN" }

# LLM configuration (optional)
[tool.vibelint.llm]
fast_api_url = "http://localhost:1234/v1"
orchestrator_api_url = "http://localhost:1235/v1"

# Embedding configuration (optional)
[tool.vibelint.embedding_analysis]
enabled = true
model = "google/embeddinggemma-300m"

Development

See AGENTS.instructions.md for development guidelines.

Testing

# Run tests
tox -e py311

# Run formatters and linters
isort src/ tests/
black src/ tests/
ruff check --fix src/ tests/
pyright src/

Documentation

License

See LICENSE file.

About

Make codebases more LLM friendly.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages