-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
111 lines (94 loc) · 2.23 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mkdocs-data-plugin"
dynamic = ["version"]
description = "MkDocs plugin that allows to read data from markup files"
readme = "README.md"
license = "MIT"
requires-python = ">=3.8"
authors = [
{ name = "Joan Puigcerver", email = "[email protected]" },
]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"mkdocs>=1.5.2",
"mkdocs-macros-plugin>=1.2.0",
]
[project.entry-points."mkdocs.plugins"]
data = "mkdocs_data_plugin.plugin:DataPlugin"
[project.urls]
Documentation = "https://joapuiib.github.io/mkdocs-data-plugin"
Download = "https://github.com/joapuiib/mkdocs-data-plugin/releases"
Homepage = "https://joapuiib.github.io/mkdocs-data-plugin"
Source = "https://github.com/joapuiib/mkdocs-data-plugin"
Tracker = "https://github.com/joapuiib/mkdocs-data-plugin/issues"
[tool.hatch.version]
path = "mkdocs_data_plugin/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/mkdocs_data_plugin",
"/tests",
]
[tool.hatch.build.targets.wheel]
exclude = ["/tests"]
[tool.hatch.envs.default.scripts]
all = [
"hatch run test:test",
"hatch run style:check",
]
[tool.hatch.envs.test]
dependencies = [
"pytest",
]
[tool.hatch.envs.test.scripts]
test = [
"pytest -xs",
]
[[tool.hatch.envs.test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
type = ["default"]
[tool.hatch.envs.doc]
dependencies = [
"mkdocs-material[imaging]~=9.5",
"mkdocs-alias-plugin~=0.8",
"mkdocs-git-revision-date-localized-plugin~=1.2",
]
[tool.hatch.envs.doc.scripts]
serve = [
"mkdocs serve",
]
build = [
"mkdocs build",
]
[tool.hatch.envs.style]
detached = true
dependencies = [
"black",
"isort",
"ruff",
]
[tool.hatch.envs.style.scripts]
check = [
"isort --check-only --diff mkdocs_data_plugin",
"black -q --check --diff mkdocs_data_plugin",
"ruff check mkdocs_data_plugin",
]
format = [
"isort -q mkdocs_data_plugin",
"black -q mkdocs_data_plugin",
]
[tool.black]
line-length = 100
target-version = ["py311"]
skip-string-normalization = true
[tool.isort]
profile = "black"
line_length = 100
[tool.ruff]
line-length = 100
[tool.ruff.lint]
ignore = ["E501"]