fix: Fix CI workflow configuration for vibeguard
All checks were successful
CI / test (push) Successful in 14s

- Create proper pyproject.toml for vibeguard package
- Update CI workflow to install vibeguard from its subdirectory
- Remove manual dependency installation (now handled by pyproject.toml)
- Remove redundant tree-sitter-languages step
- Simplify CI to only install test dependencies
This commit is contained in:
2026-02-03 07:20:45 +00:00
parent 9b8e3a3df3
commit ac44880ba7

63
vibeguard/pyproject.toml Normal file
View File

@@ -0,0 +1,63 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "vibeguard"
version = "0.1.0"
description = "A CLI tool that scans code repositories for anti-patterns commonly introduced by AI coding assistants"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
{name = "VibeGuard Team", email = "team@vibeguard.io"}
]
keywords = ["ai", "code-quality", "static-analysis", "cli", "anti-patterns"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"click>=8.1.0",
"rich>=13.0.0",
"jinja2>=3.1.0",
"pyyaml>=6.0",
"pathspec>=0.11.0",
"tree-sitter>=0.20.0",
"tree-sitter-languages>=1.10.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"pytest-cov>=4.1",
"ruff>=0.1",
]
test = [
"pytest>=7.4",
"pytest-cov>=4.1",
]
[project.scripts]
vibeguard = "vibeguard.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["vibeguard*"]
exclude = ["vibeguard.egg-info*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.ruff]
line-length = 100
target-version = "py310"