diff options
Diffstat (limited to 'blog/pyproject.toml')
| -rw-r--r-- | blog/pyproject.toml | 43 |
1 files changed, 9 insertions, 34 deletions
diff --git a/blog/pyproject.toml b/blog/pyproject.toml index 6f4e9a35..2747ec4d 100644 --- a/blog/pyproject.toml +++ b/blog/pyproject.toml @@ -2,44 +2,19 @@ name = "blog" version = "0.1.0" description = "Add your description here" -requires-python = ">=3.11" +authors = [ + { name = "alex", email = "alex@pdp7.net" } +] +requires-python = ">=3.12" dependencies = [ - "bicephalus", "feedgen>=1.0.0", "htmlgenerator>=1.2.32", - "lxml>=5.3.1", -] - -[tool.uv] -package = true - -[tool.uv.sources] -bicephalus = { git = "https://github.com/alexpdp7/bicephalus.git" } - -[dependency-groups] -dev = [ - "pytest>=8.3.5", + "lxml>=6.0.2", ] -[tool.pytest.ini_options] -addopts = "--doctest-modules" -doctest_optionflags = "NORMALIZE_WHITESPACE" +[project.scripts] +blog = "blog:main" [build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" - -[tool.hatch.build.targets.wheel.force-include] -"content" = "content" -"static" = "static" - -[tool.ruff.lint] -select = ["ALL"] -ignore = [ - "E741", # Ambiguous variable name (single letter variable) - "ANN", # Missing type annotations - "D1", # Missing docstrings - "B011", "PT015", "S101", # I am wrong in liking asserts, but I do - "COM812", # Trailing comma missing, incompatible with ruff format - "D400", "D415", "D212", "D205", "D402", # I like doctests without docstrings -] +requires = ["uv_build>=0.9.4,<0.10.0"] +build-backend = "uv_build" |
