diff --git a/pyproject.toml b/pyproject.toml index 00dd814d..6b597f97 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,45 +1,3 @@ -[tool.hatch.metadata] -allow-direct-references = true - -[tool.hatch.version] -source = "regex_commit" -commit_extra_args = ["-e"] -path = "mknodes/__init__.py" - -[tool.uv] -dev-dependencies = [ - # Linting - "mypy", - "ruff", - # black is used by mkdocstrings to format signatures - "black", - # Testing - "pytest", - "pytest-cov", - "pytest-codspeed", - # Docs - "mkdocs >=1.5", - "mkdocs-material >= 9.4", - # "mkdocs_mknodes", - "mkdocs_mknodes @ git+https://github.com/phil65/mkdocs_mknodes.git@main", - "pymdown-extensions", - "markdown-exec[ansi]", - "pygments", - "pydeps", - - # Material Social addon - "cairosvg", - "pillow", - - # Debugging - "pyreadline3", - "pyinstrument", -] - -[build-system] -requires = ["hatchling", "hatch-regex-commit"] -build-backend = "hatchling.build" - [project] name = "mknodes" authors = [ @@ -115,6 +73,45 @@ Documentation = "https://phil65.github.io/mknodes/" Source = "https://github.com/phil65/mknodes" Gitter = "https://app.gitter.im/#/room/#mknodes:gitter.im" +[build-system] +requires = ["hatchling", "hatch-regex-commit"] +build-backend = "hatchling.build" + +[tool.hatch.version] +source = "regex_commit" +commit_extra_args = ["-e"] +path = "mknodes/__init__.py" + +[tool.uv] +dev-dependencies = [ + # Linting + "mypy", + "ruff", + # black is used by mkdocstrings to format signatures + "black", + # Testing + "pytest", + "pytest-cov", + "pytest-codspeed", + # Docs + "mkdocs >=1.5", + "mkdocs-material >= 9.4", + # "mkdocs_mknodes", + "mkdocs_mknodes @ git+https://github.com/phil65/mkdocs_mknodes.git@main", + "pymdown-extensions", + "markdown-exec[ansi]", + "pygments", + "pydeps", + + # Material Social addon + "cairosvg", + "pillow", + + # Debugging + "pyreadline3", + "pyinstrument", +] + [tool.pytest.ini_options] minversion = "7.0" testpaths = ["tests"]