diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..1578dd1 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,63 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "devdash-cli" +version = "0.1.0" +description = "A terminal-based developer dashboard for git status, CI/CD pipelines, PRs, and issues" +readme = "README.md" +license = {text = "MIT"} +requires-python = ">=3.10" +authors = [ + {name = "DevDash Contributors"} +] +keywords = ["dashboard", "terminal", "tui", "git", "github", "gitlab", "ci-cd"] +classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Console :: Text", + "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 = [ + "textual>=0.52.0", + "click>=8.0.0", + "requests>=2.31.0", + "python-dotenv>=1.0.0", + "httpx>=0.25.0", + "pydantic>=2.0.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", + "pytest-asyncio>=0.21.0", + "httpx>=0.25.0", + "responses>=0.23.0", +] + +[project.scripts] +devdash = "src.main:main" + +[tool.setuptools.packages.find] +where = ["."] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_classes = ["Test*"] +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", "B", "C4"] +ignore = ["E501"]