-
Notifications
You must be signed in to change notification settings - Fork 93
/
pyproject.toml
84 lines (74 loc) · 1.83 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
[tool.poetry]
name = "json-schema-for-humans"
version = "1.0.2"
description = "Generate static HTML documentation from JSON schemas"
authors = ["Denis Blanchette <[email protected]>", "AbdulRahman Al Hamali <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/coveooss/json-schema-for-humans"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Documentation"
]
include = [
"json_schema_for_humans/*.py",
"json_schema_for_humans/schema/*.py",
"json_schema_for_humans/templates/**"
]
[tool.poetry.dependencies]
python = "^3.8"
click = "^8.0.1"
dataclasses-json = "^0.5.6"
htmlmin = "^0.1.12"
Jinja2 = ">3"
markdown2 = "^2.4.1"
Pygments = "^2.10.0"
pytz = "*"
PyYAML = ">=5.4.1,<7"
requests = "^2.31.0"
MarkupSafe = "^2.0"
[tool.poetry.scripts]
generate-schema-doc = "json_schema_for_humans.cli:main"
[tool.poetry.group.dev.dependencies]
beautifulsoup4 = "^4.10.0"
black = "^22.10"
pytest = "^6.2.5"
mypy = "^1.10.0"
types-requests = "^2.31.0"
types-pygments = "^2.17.0.20240310"
types-beautifulsoup4 = "^4.12.0.20240229"
types-pyyaml = "^6.0.12.20240311"
types-pytz = "^2024.1.0.20240417"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ["py311"]
include = "(json_schema_for_humans|tests).*\\.pyi?$|setup.py"
exclude = """
(
/( \
\\.eggs \
|\\.git \
|\\.hg \
|\\.mypy_cache \
|\\.pytest_cache \
|py\\d+_venv \
|\\.tox \
|\\.venv \
|_build \
|buck-out \
|build \
|dist \
|html-coverage \
|docs \
|target
)/
)
"""