-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
120 lines (107 loc) · 2.87 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
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
[project]
name = "moccasin"
version = "0.3.6"
description = "Pythonic smart contract development framework using Titanoboa"
authors = [
{ name = "PatrickAlphac", email = "[email protected]" },
{ name = "charles-cooper", email = "[email protected]" },
]
dependencies = [
"titanoboa>=v0.2.5",
"python-dotenv>=1.0.1",
"titanoboa-zksync>=0.2.9",
"tqdm>=4.66.5",
"tomlkit>=0.13.2",
# For preserving comments when writing to toml
"tomli-w>=1.0.0",
"pytest-cov>=5.0.0",
"uv>=0.4.15",
"pytest-xdist>=3.6.1",
"vyper>=0.4.0",
"ipykernel>=6.29.5",
]
readme = "README.md"
requires-python = ">= 3.11, <= 3.13"
keywords = [
"moccasin",
"mox",
"ethereum",
"blockchain",
"smart-contract",
"zksync",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]
[tool.uv]
managed = true
package = true
dev-dependencies = [
"pytest>=8.3.2",
"mypy>=1.11.0",
"snekmate>=0.1.0",
"vyper>=0.4.0",
"ruff>=0.6.3",
"moccasin",
]
[project.urls]
Repository = "https://github.com/cyfrin/moccasin"
Documentation = "https://cyfrin.github.io/moccasin/"
Releases = "https://github.com/Cyfrin/moccasin/releases"
[tool.uv.sources]
moccasin = { workspace = true }
[tool.uv.workspace]
members = [
"tests/data/project_no_config",
]
[project.scripts]
"mox" = "moccasin:main"
"moccasin" = "moccasin:main"
[project.optional-dependencies]
docs = [
"sphinx>=8.0.2",
"shibuya>=2024.8.30",
"sphinx-argparse>=0.5.2",
"sphinx-copybutton>=0.5.2",
"sphinx-multiversion>=0.2.4",
"sphinx-tabs>=3.4.5",
"watchdog>=5.0.2",
]
[build-system]
requires = [
"hatchling",
]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = [
"moccasin",
]
[tool.mypy]
disable_error_code = 'type-arg, attr-defined'
ignore_missing_imports = true
exclude = [
'tests/', # Excludes all files in the tests directory
'(^|/)test_.*\.py$', # Excludes files that start with test_
]
[tool.pytest.ini_options]
addopts = "--ignore=tests/data/"
[tool.ruff.format]
skip-magic-trailing-comma = true