-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
97 lines (81 loc) · 2.22 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
[project]
name = "jinja2-jsonschema"
version = "0.3.0"
description = "JSON/YAML schema validation within Jinja2 templates"
license = { text = "MIT" }
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"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"
]
keywords = ["jinja", "jinja2", "extension", "jsonschema", "json", "yaml"]
authors = [{ name = "Sigurd Spieckermann", email = "[email protected]" }]
readme = "README.md"
dependencies = [
"jinja2>=3.0.0",
"jsonschema>=4.18.0",
"referencing>=0.28.4"
]
[project.urls]
Homepage = "https://github.com/copier-org/jinja2-jsonschema"
Repository = "https://github.com/copier-org/jinja2-jsonschema"
[project.optional-dependencies]
yaml = ["pyyaml>=6.0.0"]
[dependency-groups]
dev = [
"mypy==1.14.1",
"pre-commit==4.0.1",
"pre-commit-hooks==5.0.0",
"ruff==0.9.2"
]
test = [
"pychoir==0.0.27",
"pytest==8.3.4",
"pytest-cov==6.0.0",
]
typing = [
"types-jsonschema==4.23.0.20241208",
"types-pyyaml==6.0.12.20241230"
]
[tool.uv]
default-groups = ["dev", "test", "typing"]
[tool.ruff]
src = ["src"]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
ignore = ["COM812", "D100", "D104", "D107", "ISC001"]
select = ["ALL"]
[tool.ruff.lint.flake8-type-checking]
strict = true
[tool.ruff.lint.isort]
force-single-line = true
required-imports = ["from __future__ import annotations"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pylint]
max-args = 7
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["ANN401", "ARG001", "S101", "S701"]
[tool.mypy]
implicit_reexport = true
strict = true
[tool.pytest.ini_options]
addopts = "--cov --cov-report=term-missing"
[tool.coverage.run]
source_pkgs = ["jinja2_jsonschema"]
omit = ["tests"]
[tool.hatch.build.targets.sdist]
packages = ["src/jinja2_jsonschema"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"