aboutsummaryrefslogtreecommitdiff
path: root/blog/pyproject.toml
blob: 6f4e9a350c649b463674946af068d40eb348ecd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[project]
name = "blog"
version = "0.1.0"
description = "Add your description here"
requires-python = ">=3.11"
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",
]

[tool.pytest.ini_options]
addopts = "--doctest-modules"
doctest_optionflags = "NORMALIZE_WHITESPACE"

[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
]