|
| 1 | +[project] |
| 2 | +name = "gitrack" |
| 3 | +version = "0.1.0" |
| 4 | +description = "Simple CLI tool to plan your work" |
| 5 | +readme = "README.md" |
| 6 | +requires-python = ">=3.12" |
| 7 | +authors = [ |
| 8 | + { name = "Your Name", email = "your.email@example.com" } |
| 9 | +] |
| 10 | +keywords = ["cli", "task", "planning", "productivity"] |
| 11 | +classifiers = [ |
| 12 | + "Development Status :: 3 - Alpha", |
| 13 | + "Intended Audience :: Developers", |
| 14 | + "License :: OSI Approved :: MIT License", |
| 15 | + "Programming Language :: Python :: 3", |
| 16 | + "Programming Language :: Python :: 3.12", |
| 17 | + "Programming Language :: Python :: 3.13", |
| 18 | +] |
| 19 | +dependencies = [ |
| 20 | + "click>=8.1.7", |
| 21 | + "rich>=13.7.0", |
| 22 | +] |
| 23 | + |
| 24 | +[project.optional-dependencies] |
| 25 | +dev = [ |
| 26 | + "pytest>=8.0.0", |
| 27 | + "pytest-cov>=4.1.0", |
| 28 | + "ruff>=0.1.0", |
| 29 | +] |
| 30 | + |
| 31 | +[project.scripts] |
| 32 | +gitrack = "gitrack.cli:main" |
| 33 | + |
| 34 | +[project.urls] |
| 35 | +Homepage = "https://github.com/yourusername/gitrack" |
| 36 | +Repository = "https://github.com/yourusername/gitrack" |
| 37 | + |
| 38 | +[build-system] |
| 39 | +requires = ["hatchling"] |
| 40 | +build-backend = "hatchling.build" |
| 41 | + |
| 42 | +[tool.hatch.build.targets.wheel] |
| 43 | +packages = ["src/gitrack"] |
| 44 | + |
| 45 | +[tool.pytest.ini_options] |
| 46 | +testpaths = ["tests"] |
| 47 | +python_files = ["test_*.py"] |
| 48 | +python_classes = ["Test*"] |
| 49 | +python_functions = ["test_*"] |
| 50 | +addopts = [ |
| 51 | + "--verbose", |
| 52 | + "--cov=gitrack", |
| 53 | + "--cov-report=term-missing", |
| 54 | + "--cov-report=html", |
| 55 | +] |
| 56 | + |
| 57 | +[tool.ruff] |
| 58 | +line-length = 100 |
| 59 | +target-version = "py312" |
| 60 | +src = ["src", "tests"] |
| 61 | + |
| 62 | +[tool.ruff.lint] |
| 63 | +select = [ |
| 64 | + "E", # pycodestyle errors |
| 65 | + "W", # pycodestyle warnings |
| 66 | + "F", # pyflakes |
| 67 | + "I", # isort |
| 68 | + "B", # flake8-bugbear |
| 69 | + "C4", # flake8-comprehensions |
| 70 | + "UP", # pyupgrade |
| 71 | +] |
| 72 | +ignore = [ |
| 73 | + "E501", # line too long (handled by formatter) |
| 74 | +] |
| 75 | + |
| 76 | +[tool.ruff.lint.per-file-ignores] |
| 77 | +"__init__.py" = ["F401"] # unused imports in __init__.py |
| 78 | + |
| 79 | +[tool.ruff.format] |
| 80 | +quote-style = "double" |
| 81 | +indent-style = "space" |
| 82 | +skip-magic-trailing-comma = false |
| 83 | +line-ending = "auto" |
0 commit comments