fix: Fix CI workflow configuration for vibeguard
All checks were successful
CI / test (push) Successful in 14s
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:
63
vibeguard/pyproject.toml
Normal file
63
vibeguard/pyproject.toml
Normal 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"
|
||||
Reference in New Issue
Block a user