-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (61 loc) · 1.61 KB
/
pyproject.toml
File metadata and controls
69 lines (61 loc) · 1.61 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "rfq-e2e-tests"
version = "0.1.0"
description = "E2E and Load Testing Framework for RFQ System"
requires-python = ">=3.11"
dependencies = [
"injective-py>=1.0.0",
"websockets>=12.0",
"eth-account>=0.11.0",
"eth-hash[pycryptodome]>=0.5.0",
"bech32>=1.2.0",
"pydantic>=2.0",
"pydantic-settings>=2.0",
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-xdist>=3.5",
"pyyaml>=6.0",
"rich>=13.0",
"allure-pytest>=2.13",
"tenacity>=8.2",
"httpx>=0.27",
]
[project.optional-dependencies]
dev = [
"ruff>=0.1.0",
"mypy>=1.0",
"types-PyYAML",
"grpcio-tools>=1.50",
]
[tool.hatch.build.targets.wheel]
packages = ["src/rfq_test"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
norecursedirs = ["archive"]
markers = [
"smoke: Quick health check tests (<30s total)",
"slow: Long-running tests",
"load: Load/stress tests",
"validation: Input validation tests",
"functional: E2E flow tests",
"contract: Smart contract validation tests",
"local_only: Tests that only work on local chain",
"setup: Setup tests (whitelist makers, etc.) - run before other tests",
]
addopts = "-v --tb=short"
filterwarnings = [
# pyinjective AsyncClient teardown uses deprecated asyncio.get_event_loop() when pytest loop is already closed
"ignore::DeprecationWarning:pyinjective.async_client_v2",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
[tool.mypy]
python_version = "3.11"
strict = true