forked from COMP1010UNSW/pyhtml-enhanced
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (67 loc) · 1.73 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
[tool.poetry]
name = "pyhtml-enhanced"
version = "1.1.0"
description = "A library for building HTML documents with a simple and learnable syntax"
authors = ["Miguel Guthridge <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "pyhtml"}]
repository = "https://github.com/COMP1010UNSW/pyhtml-enhanced"
documentation = "https://github.com/COMP1010UNSW/pyhtml-enhanced#README"
keywords = [
'html',
'template',
'pyhtml',
'markup',
'documentation',
]
classifiers = [
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Testing",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Typing :: Typed",
]
include = ["py.typed"]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/COMP1010UNSW/pyhtml-enhanced/issues"
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
flake8 = "^6.1.0"
mypy = "^1.5.1"
autopep8 = "^2.0.4"
coverage = "^7.3.1"
requests = "^2.31.0"
types-requests = "^2.31.0.2"
pyyaml = "^6.0.1"
types-pyyaml = "^6.0.12.11"
flake8-pyproject = "^1.2.3"
flask = "^3.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
exclude = [
'meta/templates/*',
]
[tool.flake8]
exclude = [
'meta/templates',
'pyhtml/__tags/generated.py',
]
[tool.pytest.ini_options]
addopts = "--doctest-glob README.md"
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"return NotImplemented",
"@overload",
]