85 lines
2.2 KiB
TOML
85 lines
2.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "local-code-assistant"
|
|
version = "0.1.0"
|
|
description = "A CLI tool for running local AI code assistance without sending code to external APIs"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Local Code Assistant Contributors"}
|
|
]
|
|
keywords = ["cli", "ai", "code-assistant", "ollama", "local-llm"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Software Development :: Tools :: Code Generators",
|
|
"Topic :: Software Development :: Libraries :: Python Modules"
|
|
]
|
|
dependencies = [
|
|
"click>=8.1.7",
|
|
"rich>=13.7.0",
|
|
"ollama>=0.1.41",
|
|
"pyperclip>=1.8.2",
|
|
"pyyaml>=6.0.1",
|
|
"python-dotenv>=1.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.4.0",
|
|
"pytest-cov>=4.1.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"black>=23.0.0",
|
|
"ruff>=0.1.0",
|
|
"mypy>=1.5.0",
|
|
"types-pyperclip",
|
|
]
|
|
|
|
[project.scripts]
|
|
local-code-assistant = "local_code_assistant.cli:main"
|
|
lca = "local_code_assistant.cli:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/local-code-assistant/local-code-assistant"
|
|
Repository = "https://github.com/local-code-assistant/local-code-assistant"
|
|
Issues = "https://github.com/local-code-assistant/local-code-assistant/issues"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["local_code_assistant*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --tb=short"
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ["py39", "py310", "py311", "py312"]
|
|
include = '\\.pyi?$'
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py39"
|
|
select = ["E", "F", "W", "C90", "I", "N", "UP", "B", "C4"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.per-file-ignores]
|
|
"__init__.py" = ["F401"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.9"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
disallow_untyped_defs = false |