Mercurial > hg-git-serve
view pyproject.toml @ 7:4f42fdbb25f2
rename to hggit_serve
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Sun, 15 Feb 2026 01:49:42 -0500 |
| parents | 871dcb2a2aeb |
| children | fe3c9fae4d4d |
line wrap: on
line source
[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "hg-git-serve" dynamic = ["version"] description = 'Serves Git repositories from Mercurial.' requires-python = ">=3.8" license = "MIT" keywords = [] authors = [ { name = "Paul Fisher", email = "paul@pfish.zone" }, ] classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", "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", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] dependencies = [ 'dulwich', 'mercurial', 'hg-git', ] [tool.hatch.build.targets.wheel] packages = ['src/hggit_serve.py'] [tool.hatch.version] path = "src/hggit_serve.py" [tool.hatch.envs.types] extra-dependencies = [ "mypy>=1.0.0", ] [tool.hatch.envs.types.scripts] check = "mypy --install-types --non-interactive {args:src/hggit_serve tests}" [tool.coverage.run] source_pkgs = ["hggit_serve", "tests"] branch = true parallel = true [tool.coverage.paths] hggit_serve = ["src/hggit_serve"] tests = ["tests"] [tool.coverage.report] exclude_lines = [ "no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:", ] [[tool.mypy.overrides]] module = ['mercurial.*', 'hggit.*'] follow_untyped_imports = true [tool.ruff] line-length = 80 [tool.ruff.lint] select = ['E', 'F', 'UP', 'B', 'SIM', 'I'] isort.force-single-line = true [tool.ruff.format] quote-style = 'single'
