|
| 1 | +[build-system] |
| 2 | +requires = ["hatchling"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "forge-webhook-parser" |
| 7 | +dynamic = ["version"] |
| 8 | +description = 'Parse webhook payloads from popular git forges.' |
| 9 | +readme = "README.md" |
| 10 | +requires-python = ">=3.9" |
| 11 | +license = "GPL-3.0-or-later" |
| 12 | +authors = [ |
| 13 | + { name = "Don Naro", email = "dnaro@redhat.com" }, |
| 14 | +] |
| 15 | +classifiers = [ |
| 16 | + "Development Status :: 4 - Beta", |
| 17 | + "Programming Language :: Python", |
| 18 | + "Programming Language :: Python :: 3.8", |
| 19 | + "Programming Language :: Python :: 3.9", |
| 20 | + "Programming Language :: Python :: 3.10", |
| 21 | + "Programming Language :: Python :: 3.11", |
| 22 | + "Programming Language :: Python :: 3.12", |
| 23 | + "Programming Language :: Python :: Implementation :: CPython", |
| 24 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 25 | +] |
| 26 | +dependencies = [ |
| 27 | + "requests", |
| 28 | +] |
| 29 | + |
| 30 | +[project.urls] |
| 31 | +Documentation = "https://github.com/fedora-copr/forge-webhook-parser/blob/main/README.md" |
| 32 | +Issues = "https://github.com/fedora-copr/forge-webhook-parser/issues" |
| 33 | +Source = "https://github.com/fedora-copr/forge-webhook-parser" |
| 34 | + |
| 35 | +[project.scripts] |
| 36 | +forge-webhook-parser = "forge_webhook_parser.main:main" |
| 37 | + |
| 38 | +[tool.hatch.version] |
| 39 | +path = "src/forge_webhook_parser/__init__.py" |
| 40 | + |
| 41 | +[tool.hatch.build.targets.wheel] |
| 42 | +packages = ["src/forge_webhook_parser"] |
| 43 | + |
| 44 | +[tool.hatch.envs.test] |
| 45 | +dependencies = [ |
| 46 | + "pytest", |
| 47 | + "pytest-cov", |
| 48 | +] |
| 49 | + |
| 50 | +[tool.hatch.envs.test.scripts] |
| 51 | +test = "pytest {args:tests}" |
| 52 | +test-cov = "pytest --cov=forge_webhook_parser {args:tests}" |
| 53 | + |
| 54 | +[tool.pytest.ini_options] |
| 55 | +pythonpath = ["src"] |
| 56 | + |
| 57 | +[tool.isort] |
| 58 | +profile = "black" |
0 commit comments