-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (58 loc) · 1.47 KB
/
pyproject.toml
File metadata and controls
68 lines (58 loc) · 1.47 KB
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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "example_website_httk"
version = "0.1.0"
description = "Example of how to use httk as a static site generator (that can be extended with a backend)."
readme = "README.md"
license = "AGPL-3.0+"
requires-python = ">=3.11"
authors = [{ name = "Rickard Armiento", email = "gitcommits@armiento.net" }]
dependencies = [
"httk-web @ git+https://github.com/httk/httk-web",
]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"httpx>=0.27",
"black",
"ruff",
"isort",
"pyright",
"mypy"
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.isort]
profile = "black"
[tool.ruff]
target-version = "py311"
src = ["src"]
[tool.black]
target-version = ["py311"]
line-length = 120
skip-string-normalization = true
[tool.pyright]
pythonVersion = "3.11"
include = ["src", "serve_dynamic.py", "publish_static.py"]
extraPaths = ["src"]
reportMissingImports = true
[tool.mypy]
python_version = "3.11"
files = ["src", "serve_dynamic.py", "publish_static.py"]
mypy_path = ["src"]
namespace_packages = true
explicit_package_bases = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = ["yaml", "markdown", "docutils", "docutils.*", "httk.web", "httk.web.*"]
ignore_missing_imports = true