-
Notifications
You must be signed in to change notification settings - Fork 34
/
pyproject.toml
66 lines (59 loc) · 2.47 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
[tool.poetry]
name = "bundler-spec-tests"
version = "0.4.0"
description = ""
authors = ["shahafn <[email protected]>"]
readme = "README.md"
packages = [{include = "bundler_spec_tests"}]
[tool.poetry.dependencies]
python = "^3.8"
[tool.black]
line-length = 88
[tool.pylint]
disable = ["C0114", "C0115", "C0116", "W0621", "R0914", "R1735"] # missing-module-docstring, redefined-outer-name as it conflicts with pytest fixtures, too-many-locals, use-dict-literal
ignored-classes = ["Error"]
good-names = ["w3", "id", "i", "s"]
good-names-rgxs = ["test_.*"]
max-line-length=120
max-branches=15
[tool.pdm]
[tool.pdm.build]
includes = ["bundler_spec_tests"]
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool.pdm.scripts]
submodule-update = {shell = "git submodule update --init --recursive"}
spec-build = {shell = "cd spec && yarn && yarn build"}
rip7560-build = {shell = "cd @rip7560 && yarn && yarn compile-hardhat" }
dep-build = {composite = ["spec-build", "rip7560-build"]}
update-deps = {composite = ["submodule-update", "dep-build"]}
update-deps-remote = {shell = "git submodule update --init --recursive --remote && cd @account-abstraction && yarn && yarn compile && cd ../spec && yarn && yarn build && cd ../@rip7560 && yarn && yarn compile-hardhat"}
test = "pytest --tb=short -rA -W ignore::DeprecationWarning --url http://localhost:3000/rpc --entry-point 0x0000000071727De22E5E9d8BAf0edAc6f37da032 --ethereum-node http://127.0.0.1:8545/ tests/single"
test-rip7560 = "pytest --tb=short -rA -W ignore::DeprecationWarning --url http://localhost:3000/rpc --nonce-manager 0x632FaFb21910D6C8b4A3995063Dd984F2b829C02 --stake-manager 0x570Aa568b6cf62ff08c6C3a3b3DB1a0438E871Fb --ethereum-node http://127.0.0.1:8545/ tests/rip7560"
p2ptest = "pytest --tb=short -rA -W ignore::DeprecationWarning --url http://localhost:3000/rpc --entry-point 0x0000000071727De22E5E9d8BAf0edAc6f37da032 --ethereum-node http://127.0.0.1:8545/ tests/p2p"
lint = "pylint tests"
format = "black tests"
[project]
name = "bundler-spec-tests"
version = "0.1.0"
description = ""
authors = [
{name = "shahafn", email = "[email protected]"},
]
dependencies = [
"pytest>=7.2.0",
"requests>=2.28.1",
"setuptools>=65.6.0",
"eth-utils>=1.2.0",
"py-solc-x>=2.0.3",
"eth-tester>=0.6.0b6",
"web3>=5.31.1",
"jsonrpcclient>=4.0.2",
"jsonschema>=4.21.1",
"black>=22.12.0",
"pylint>=2.15.8",
]
requires-python = ">=3.10,<3.11"
license = {text = "MIT"}
readme = "README.md"