diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..fc6879c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,47 @@ +[project] +name = "shell-memory-cli" +version = "0.1.0" +description = "A CLI tool that learns from terminal command patterns to automate repetitive workflows" +readme = "README.md" +requires-python = ">=3.8" +classifiers = [ + "Development Status :: 3 - Alpha", + "Environment :: Console", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +dependencies = [ + "click>=8.0.0", + "rich>=12.0.0", + "pyyaml>=6.0", + "fuzzywuzzy>=0.18.0", + "python-Levenshtein>=0.20.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", + "flake8>=5.0.0", +] + +[project.scripts] +shell-memory = "shell_memory.cli:main" + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] + +[tool.coverage.run] +source = ["shell_memory"] +omit = ["tests/*"] + +[tool.coverage.report] +exclude_lines = ["pragma: no cover", "def __repr__", "raise AssertionError", "raise NotImplementedError"] \ No newline at end of file