-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (117 loc) · 3.61 KB
/
pyproject.toml
File metadata and controls
128 lines (117 loc) · 3.61 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
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
120
121
122
123
124
125
126
127
128
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "genesisgraph"
version = "0.3.0"
description = "Universal Verifiable Process Provenance"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "Apache-2.0"}
authors = [
{name = "GenesisGraph Contributors"}
]
keywords = ["provenance", "verification", "cryptography", "workflow", "traceability"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"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",
"Topic :: Security :: Cryptography",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"pyyaml>=6.0,<7.0",
"jsonschema>=4.17.0,<5.0",
"cryptography>=41.0.0,<50.0.0",
"requests>=2.28.0,<3.0",
]
[project.optional-dependencies]
cli = [
"click>=8.1.0,<9.0",
"rich>=13.0.0,<14.0.0",
]
blake3 = [
"blake3>=0.3.0,<1.0",
]
dev = [
"pytest>=7.4.0,<8.0",
"pytest-cov>=4.1.0,<5.0",
"pytest-benchmark>=4.0.0,<5.0",
"black>=23.0.0,<24.0",
"ruff>=0.1.0,<0.2.0",
"mypy>=1.5.0,<2.0",
"types-pyyaml>=6.0.0,<7.0",
"types-requests>=2.28.0,<3.0",
]
security = [
"bandit>=1.7.5,<2.0",
"safety>=2.3.5,<4.0",
]
credentials = [
# SD-JWT support (IETF reference implementation)
"sd-jwt>=0.10.0,<1.0",
# JWT/JWK handling
"jwcrypto>=1.5.0,<2.0",
# Zero-knowledge proofs for range proofs and BBS+
"zksk>=0.0.2,<1.0",
# Petlib for pairing-based cryptography (BBS+ foundation)
"petlib>=0.0.45,<1.0",
]
docs = [
"mkdocs>=1.5.0,<2.0",
"mkdocs-material>=9.4.0,<10.0",
"mkdocstrings[python]>=0.24.0,<1.0",
"mkdocs-git-revision-date-localized-plugin>=1.2.0,<2.0",
]
[project.urls]
Homepage = "https://github.com/genesisgraph/genesisgraph"
Documentation = "https://genesisgraph.dev"
Repository = "https://github.com/genesisgraph/genesisgraph"
Issues = "https://github.com/genesisgraph/genesisgraph/issues"
[project.scripts]
gg = "genesisgraph.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["genesisgraph*"]
exclude = ["tests*"]
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--verbose",
"--cov=genesisgraph",
"--cov-report=term-missing",
"--cov-report=html",
]
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310', 'py311']
[tool.ruff]
line-length = 100
target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "YTT", "S", "B", "A", "C4", "T10", "ISC", "ICN", "PIE", "PT", "RET", "SIM", "ARG", "PLE", "PLR", "PLW"]
ignore = ["E501", "S101", "PLR0913", "A002", "PLR2004", "PLR0912", "PLR0915", "ARG001", "B904", "F401", "SIM102", "RET504", "PLR0911", "N806", "ARG002", "SIM108", "SIM401", "S104", "F841", "PIE810", "PLW0127", "B007", "SIM117", "W293", "SIM105", "PLR1714", "SIM101", "C414", "SIM113"]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
# Relaxed type checking to allow gradual typing adoption
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = false
strict_optional = false
no_implicit_optional = false
# Ignore missing imports for optional dependencies
ignore_missing_imports = true