66 lines
1.5 KiB
TOML
66 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "shell-speak"
|
|
version = "0.1.0"
|
|
description = "A CLI tool that converts natural language descriptions into shell commands"
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
requires-python = ">=3.10"
|
|
authors = [
|
|
{name = "Shell Speak Contributors"}
|
|
]
|
|
keywords = ["cli", "shell", "docker", "kubectl", "git", "unix", "natural-language"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"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 = [
|
|
"typer>=0.9.0",
|
|
"rich>=13.0.0",
|
|
"shellingham>=1.5.0",
|
|
"prompt-toolkit>=3.0.0",
|
|
"pyyaml>=6.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-cov>=4.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
shell-speak = "shell_speak.main:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["shell_speak"]
|
|
include = ["shell_speak*"]
|
|
|
|
[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"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "C90", "I", "N", "UP"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/__init__.py" = ["F401", "I001"]
|
|
"tests/conftest.py" = ["F401", "I001"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["shell_speak"]
|