forked from feltroidprime/garaga-zero
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (56 loc) · 1.2 KB
/
pyproject.toml
File metadata and controls
65 lines (56 loc) · 1.2 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
[project]
name = "garaga-zero"
version = "0.0.1"
requires-python = ">=3.10,<3.11"
dependencies = [
"garaga == 0.16.0",
"cairo-lang==0.13.3",
"protobuf==3.20.3",
"inquirer",
"pandas",
"tabulate",
"pytest",
"pre-commit",
]
[tool.uv.sources]
garaga = { git = "https://github.com/keep-starknet-strange/garaga.git", tag = "v0.16.0" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
include = [
"**/*.py",
"src/**/*.cairo", # Include all .cairo files in src directory
]
packages = ["src/garaga_zero", "src/precompiled_circuits"]
exclude = ["tests"]
[tool.hatch.build]
artifacts = [
"src/**/*.cairo", # Also include .cairo files as artifacts
]
[tool.hatch.metadata]
allow-direct-references = true
[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
| build
| dist
)/
'''