File: pyproject.toml

package info (click to toggle)
mkdocs-static-i18n 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,416 kB
  • sloc: python: 3,224; xml: 45; makefile: 21; sh: 17
file content (119 lines) | stat: -rw-r--r-- 2,788 bytes parent folder | download
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
112
113
114
115
116
117
118
119
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "mkdocs-static-i18n"
dynamic = ["version"]
description = "MkDocs i18n plugin using static translation markdown files"
readme = "README.md"
license = "MIT"
requires-python = ">=3.8"
authors = [
    { name = "Ultrabug", email = "ultrabug@ultrabug.net" },
]
classifiers = [
    "License :: OSI Approved :: MIT License",
    "Operating System :: POSIX :: Linux",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3 :: Only",
    "Programming Language :: Python :: 3.8",
    "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",
    "Programming Language :: Python :: 3.14",
    "Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
    "mkdocs>=1.5.2",
]

[project.entry-points."mkdocs.plugins"]
i18n = "mkdocs_static_i18n.plugin:I18n"

[project.urls]
Documentation = "https://github.com/ultrabug/mkdocs-static-i18n#readme"
Download = "https://github.com/ultrabug/mkdocs-static-i18n/tags"
Funding = "https://ultrabug.fr/#support-me"
Homepage = "https://github.com/ultrabug/mkdocs-static-i18n"
Source = "https://github.com/ultrabug/mkdocs-static-i18n"
Tracker = "https://github.com/ultrabug/mkdocs-static-i18n/issues"

[tool.hatch.version]
path = "mkdocs_static_i18n/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
    "/mkdocs_static_i18n",
    "/tests",
]
[tool.hatch.build.targets.wheel]
exclude = ["/tests"]

[project.optional-dependencies]
material = ["mkdocs-material<9.7.2"]

[tool.hatch.envs.default.scripts]
all = [
    "hatch run test:test",
    "hatch run style:check",
]

[tool.hatch.envs.test]
dependencies = [
    "pytest",
    "mkdocs-material<9.7.2"
]

[tool.hatch.envs.test.scripts]
test = [
    "pytest -xs {args:tests}",
]

[[tool.hatch.envs.test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
type = ["default"]

[tool.hatch.envs.doc]
dependencies = [
    "mkdocs-material<9.7.2"
]

[tool.hatch.envs.doc.scripts]
serve = [
    "mkdocs serve",
]

[tool.hatch.envs.style]
detached = true
dependencies = [
    "black",
    "isort",
    "ruff",
]

[tool.hatch.envs.style.scripts]
check = [
    "isort --check-only --diff mkdocs_static_i18n",
    "black -q --check --diff mkdocs_static_i18n",
    "ruff check mkdocs_static_i18n",
]
format = [
    "isort -q mkdocs_static_i18n",
    "black -q mkdocs_static_i18n",
]

[tool.black]
line-length = 100
skip-string-normalization = true

[tool.isort]
profile = "black"
line_length = 100

[tool.ruff]
line-length = 100
ignore = ["E501"]