-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
95 lines (83 loc) · 1.96 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[build-system]
requires = ["setuptools"]
[project]
authors = [
{email = "[email protected]", name = "Cody Scott"},
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies = [
"beautifulsoup4",
"click",
"csscompressor",
"feedwerk",
"Flask",
"Flask-FlatPages",
"Frozen-Flask",
"htmlmin2",
"jsmin",
"Pygments",
]
description = "Write Markdown and Jinja2 templates to create a website"
maintainers = [
{name = "Cody Scott", email = "[email protected]"},
]
name = "htmd"
readme = "README.md"
requires-python = ">=3.11"
version = "5.0.0"
[project.optional-dependencies]
dev = [
"coverage",
"mypy",
"pytest",
"requests",
"ruff",
"types-Pygments",
"types-beautifulsoup4",
"types-requests",
]
[project.scripts]
htmd = "htmd.cli:cli"
[project.urls]
Changelog = "https://github.com/siecje/htmd/blob/main/CHANGELOG.md"
Documentation = "https://github.com/siecje/htmd"
Homepage = "https://github.com/siecje/htmd"
Issues = "https://github.com/siecje/htmd/issues"
Repository = "https://github.com/siecje/htmd.git"
[tool.ruff]
src = [".", "tests"]
[tool.ruff.lint]
ignore = [
"D100", "D101", "D103", "D104", "D105", "D107", "D203", "D211", "D212", "D213",
"RET504",
"S101",
"UP015",
]
select = ["ALL"]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
multiline-quotes = "single"
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.isort]
force-sort-within-sections = true
known-third-party = ["htmd"]
lines-after-imports = 2
order-by-type = false
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["htmd"]
[tool.setuptools.package-data]
htmd = [
"example_site/config.toml",
"example_site/pages/*.html",
"example_site/posts/*.md",
"example_site/static/*.css",
"example_site/templates/*.html",
]