-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
72 lines (63 loc) · 1.74 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
[build-system]
build-backend = "hatchling.build"
requires = [
# Keep pinned to ensure same version is used by `conda build` (version must be available on anaconda).
# Keep in sync with version in `tool.uv.dev-dependencies`.
"hatchling ==1.21.1",
]
[project]
authors = [{ email = "[email protected]", name = "ActiveViam" }]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
]
dependencies = []
description = "A JDK shipped in a Python package"
dynamic = ["version"]
keywords = ["jdk", "java", "jvm", "jre"]
name = "jdk4py"
readme = "README.md"
requires-python = ">=3.10"
[project.urls]
Repository = "https://github.com/activeviam/jdk4py"
[tool.hatch.build.hooks.custom]
[tool.hatch.metadata.hooks.custom]
[tool.hatch.build.targets.wheel]
artifacts = ["java-runtime"]
[tool.mypy]
# Remove once https://github.com/python/mypy/issues/10428 is fixed.
files = "build_java_runtime.py,hatch_build.py,src,tests"
strict = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.pytest.ini_options]
filterwarnings = ["error"]
[tool.ruff.lint]
ignore = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D211",
"D212",
"EM102",
"S101",
"TRY003",
]
select = ["ALL"]
[tool.uv]
dev-dependencies = [
# Keep in sync with version in `build-system.requires`.
"hatchling ==1.21.1",
"mypy",
# Keep pinned to ensure same version is used by `conda build` (version must be available on anaconda).
"pytest ==7.4.4",
"ruff",
"twine",
]