forked from BoboTiG/py-eip712-structs-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (108 loc) · 2.67 KB
/
pyproject.toml
File metadata and controls
124 lines (108 loc) · 2.67 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "eip712-structs-ng"
description = "A Python interface for EIP-712 struct construction."
readme = "README.md"
requires-python = ">= 3.9"
authors = [
{ name = "AJ Grubbs" },
{ name = "Mickaël Schoentgen", email="contact@tiger-222.fr" },
]
maintainers = [
{ name = "Mickaël Schoentgen", email="contact@tiger-222.fr" },
]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python",
"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",
]
keywords = [
"ethereum",
"eip712",
"solidity",
]
dynamic = ["version"]
dependencies = [
"eth-utils",
]
[project.urls]
Source = "https://github.com/BoboTiG/py-eip712-structs-ng"
Tracker = "https://github.com/BoboTiG/py-eip712-structs-ng/issues"
"Released Versions" = "https://github.com/BoboTiG/py-eip712-structs-ng/releases"
[project.optional-dependencies]
tests = [
"eth-tester[py-evm]==0.13.0b1",
"mypy==1.19.1",
"py-solc-x==2.0.5",
"pytest==8.4.2",
"pytest-cov==7.0.0",
"requests==2.32.5",
"ruff==0.14.10",
"setuptools==80.9.0",
"web3==7.14.0",
]
dev = [
"build==1.3.0",
"twine==6.2.0",
]
[tool.hatch.version]
path = "src/eip712_structs/__init__.py"
[tool.hatch.build]
skip-excluded-dirs = true
[tool.hatch.build.targets.sdist]
only-include = [
"src",
]
[tool.hatch.build.targets.wheel]
packages = [
"src/eip712_structs",
]
[tool.mypy]
# Ensure we know what we do
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
# Imports management
ignore_missing_imports = true
follow_imports = "skip"
# Ensure full coverage
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
# Restrict dynamic typing (a little)
# e.g. `x: List[Any]` or x: List`
# disallow_any_generics = true
strict_equality = true
[tool.pytest.ini_options]
pythonpath = "src"
addopts = """
--showlocals
--strict-markers
-r fE
-vvv
--cov=src/eip712_structs
--cov-report=term-missing:skip-covered
"""
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py39"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint]
extend-select = ["I"]