Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (91 loc) · 2.51 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (91 loc) · 2.51 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
[project]
name = "tesseract"
version = "0.1.0"
description = "Cross-rollup atomic swap protocol for Ethereum L2s with MEV protection."
authors = [{name = "Cryptuon Research", email = "contact@cryptuon.com"}]
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
keywords = ["ethereum", "cross-chain", "rollup", "l2", "atomic-swap", "defi", "mev", "interoperability", "vyper"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
"Topic :: Security :: Cryptography",
]
dependencies = [
"vyper>=0.3.10,<0.4.0",
"web3>=6.11.0,<6.12.0",
"pytest>=7.0.0,<8.0.0",
"python-dotenv>=1.0.0",
"eth-utils>=2.0.0,<3.0.0",
"eth-tester[py-evm]>=0.12.0b1,<0.13.0",
"eth-typing>=3.0.0,<4.0.0",
"setuptools>=80.9.0",
]
[project.optional-dependencies]
dev = [
"black>=23.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.8.0",
"bandit>=1.7.0",
"pip-audit>=2.7.0",
]
test = [
"pytest-asyncio>=0.23.0",
"hypothesis>=6.0.0",
]
docs = [
"mkdocs>=1.5.0",
"mkdocs-material>=9.5.0",
"mkdocstrings[python]>=0.24.0",
"pymdown-extensions>=10.7",
]
[project.urls]
homepage = "https://tesseract.cryptuon.com/"
documentation = "https://docs.cryptuon.com/tesseract/"
repository = "https://github.com/cryptuon/tesseract"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["tesseract"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
markers = [
"unit: Unit tests",
"integration: Integration tests",
"security: Security tests",
"slow: Slow-running tests"
]
[tool.coverage.run]
source = ["tesseract", "scripts"]
branch = true
omit = ["tests/*", "*/__pycache__/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError"
]
fail_under = 80
show_missing = true
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "C4", "UP"]
ignore = ["E501"] # Line too long - handled by formatter
[tool.ruff.format]
quote-style = "double"
[tool.bandit]
exclude_dirs = ["tests", ".venv"]
skips = ["B101"] # Allow assert statements