-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
61 lines (55 loc) · 1.34 KB
/
pyproject.toml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[tool.poetry]
name = "ukebook-md"
version = "1.1.0"
description = "tools to build songbooks from UDN files"
authors = ["Stuart Sears <[email protected]>"]
license = "GPL-3-Or-Later"
[tool.poetry.dependencies]
python = "^3.10"
weasyprint = "^61.2" # 62.1 explodes with my CSS, must figure out why
ukedown = "^2.1.1"
lxml = "^5.1.1"
requests = "^2.28.2"
beautifulsoup4 = "^4.11.2"
PyYAML = "^6.0"
progress = "^1.6"
pip-tools = "^7.2.0"
jinja2 = "^3.1.4"
poetry-plugin-export = "^1.8.0"
dynaconf = "^3.2.5"
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
pre-commit = "^3.1.1"
ruff = "^0.4.4"
mypy = "^1.9.0"
types-pyyaml = "^6.0.12.20240311"
types-beautifulsoup4 = "^4.12.0.20240229"
pip-tools = "^7.4.1"
sphinx-pyproject = "^0.3.0"
sphinx = "^7.3.7"
myst = "^1.0.4"
[tool.sphinx-pyproject]
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
htmlbook = "ukebook_md.genbook:main"
pdfbook = "ukebook_md.makepdf:main"
pdfsong = "ukebook_md.makesong:main"
[tool.ruff.lint]
fixable = ["ALL"]
select = ["E", "F", "UP", "B", "SIM", "I"]
extend-select = ["B", "I"]
extend-fixable = ["I"]
#
[tool.ruff.format]
docstring-code-format = true
preview = true
#
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
suppress-dummy-args = true