-
Notifications
You must be signed in to change notification settings - Fork 106
/
pyproject.toml
86 lines (76 loc) · 1.97 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
[tool.poetry]
name = "json-schema-for-humans"
version = "1.3.4"
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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Development Status :: 6 - Mature",
"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.9"
click = "^8.0.1"
dataclasses-json = "^0.6.7"
Jinja2 = ">3"
markdown2 = "^2.5.0"
Pygments = "^2.18.0"
pytz = "*"
PyYAML = "^6.0.2"
requests = "^2.32.3"
[tool.poetry.scripts]
generate-schema-doc = "json_schema_for_humans.cli:main"
[tool.poetry.group.dev.dependencies]
beautifulsoup4 = "^4.10.0"
black = "^24.8.0"
pytest = "^8.3.2"
mypy = "^1.11.2"
types-requests = "^2.32.0"
types-pygments = "^2.18.0.20240506"
types-beautifulsoup4 = "^4.12.0.20240511"
types-pyyaml = "^6.0.12.20240808"
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
)/
)
"""