-
Notifications
You must be signed in to change notification settings - Fork 56
/
pyproject.toml
70 lines (63 loc) · 1.35 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
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[project]
name = "garaga"
version = "0.15.3"
requires-python = ">=3.10,<3.11"
dependencies = [
"fastecdsa",
"sympy",
"typer",
"python-dotenv",
"pysha3",
"starknet-py==0.24.3",
"requests",
]
description = "State-of-the-art Elliptic Curve operations and SNARKS verification for Cairo & Starknet 🐺."
[project.optional-dependencies]
dev = [
"maturin",
"pytest",
"pytest-asyncio",
"pytest-xdist",
"black==24.4.2",
"pre-commit",
"inquirer",
"pandas",
"tabulate",
]
[project.scripts]
garaga = "garaga.starknet.cli.starknet_cli:app"
[tool.maturin]
features = ["pyo3/extension-module"]
manifest-path = "tools/garaga_rs/Cargo.toml"
# configures rust package as a module under garaga
module-name = "garaga.garaga_rs"
# python source root must be under <tool.maturin.python-source>/<project.name>
python-source = "hydra"
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
cache_dir = "build/.pytest_cache"
testpaths = ["tests/hydra"]
# addopts = "--tb=short --showlocals"
asyncio_default_fixture_loop_scope = "function" # Explicitly set the loop scope
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \venv
| build
| dist
)/
'''