-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (79 loc) · 2.09 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (79 loc) · 2.09 KB
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
[project]
name = "spdx-python-model"
description = "SPDX Model Python Bindings"
dynamic = ["version"]
dependencies = []
requires-python = ">= 3.9"
authors = [
{name = "Joshua Watt", email = "JPEWhacker@gmail.com"},
]
readme = "README.md"
keywords = [
"spdx",
"sbom",
"spdx3",
"software-bill-of-materials",
"shacl2code",
"bindings",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"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",
"Programming Language :: Python :: 3.14",
]
license = "Apache-2.0"
license-files = ["LICENSE"]
[project.optional-dependencies]
dev = [
"mypy >= 1.19.1",
"pylint >= 3.3.9",
"pytest >= 7.4",
]
[project.urls]
homepage = "https://spdx.github.io/spdx-python-model/"
repository = "https://github.com/spdx/spdx-python-model.git"
download = "https://github.com/spdx/spdx-python-model/releases"
documentation = "https://spdx.github.io/spdx-python-model/doc/"
issues = "https://github.com/spdx/spdx-python-model/issues"
[build-system]
requires = [
"hatchling >= 1.27.0",
"hatch-build-scripts >= 0.0.4",
"shacl2code == 1.1.0",
]
build-backend = "hatchling.build"
[[tool.hatch.build.hooks.build-scripts.scripts]]
out_dir = "src/spdx_python_model/bindings"
work_dir = "gen"
clean_out_dir = true
commands = [
"./generate-bindings"
]
artifacts = [
"*.py",
"*.pyi",
]
[tool.hatch.version]
path = "src/spdx_python_model/version.py"
[tool.mypy]
disallow_any_decorated = true
disallow_any_unimported = true
extra_checks = true
python_version = "3.9"
strict = true
strict_bytes = true
warn_unreachable = true
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
[tool.pylint.main]
# The generated binding fails style checks. Ignore it.
ignore-paths = ['^src/spdx_python_model/bindings/v3_0_1/.*$']