forked from ethereum/consensus-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (86 loc) · 2.33 KB
/
pyproject.toml
File metadata and controls
91 lines (86 loc) · 2.33 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = [
"marko==2.1.4",
"ruamel.yaml==0.18.14",
"setuptools==80.9.0",
"wheel==0.45.1",
]
[project]
name = "eth2spec"
dynamic = ["version"]
authors = [{ name = "ethereum" }]
description = "Ethereum consensus layer specifications package"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10,<4.0"
dependencies = [
"curdleproofs==0.1.2",
"eth-typing==5.2.1",
"eth-utils==5.3.0",
"frozendict==2.4.6",
"lru-dict==1.3.0",
"marko==2.1.4",
"milagro_bls_binding==1.9.0",
"py_arkworks_bls12381==0.3.8",
"py_ecc==8.0.0",
"pycryptodome==3.23.0",
"remerkleable==0.1.28",
"ruamel.yaml==0.18.14",
"setuptools==80.9.0",
"trie==3.1.0",
]
[project.optional-dependencies]
test = [
"deepdiff==8.5.0",
"pytest-cov==6.2.1",
"pytest-xdist==3.7.0",
"pytest==8.4.1",
]
lint = [
"codespell==2.4.1",
"mdformat-gfm-alerts==2.0.0",
"mdformat-gfm==0.4.1",
"mdformat-ruff==0.1.3",
"mdformat-toc==0.3.0",
"mdformat==0.7.22",
"mypy==1.16.1",
"ruff==0.12.0",
]
generator = [
"filelock==3.18.0",
"minizinc==0.10.0",
"pathos==0.3.4",
"pytest==8.4.1",
"python-snappy==0.7.3",
"rich==14.0.0",
"tqdm==4.67.1",
]
docs = [
"mdx-truly-sane-lists==1.3",
"mkdocs-awesome-pages-plugin==2.10.1",
"mkdocs-material==9.6.14",
"mkdocs==1.6.1",
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
"F", # https://docs.astral.sh/ruff/rules/#pyflakes-f
"I", # https://docs.astral.sh/ruff/rules/#isort-i
"PL", # https://docs.astral.sh/ruff/rules/#pylint-pl
"UP", # https://docs.astral.sh/ruff/rules/#pyupgrade-up
]
ignore = [
"PLR0911", # https://docs.astral.sh/ruff/rules/too-many-return-statements/
"PLR0912", # https://docs.astral.sh/ruff/rules/too-many-branches/
"PLR0913", # https://docs.astral.sh/ruff/rules/too-many-arguments/
"PLR0915", # https://docs.astral.sh/ruff/rules/too-many-statements/
"PLR1714", # https://docs.astral.sh/ruff/rules/repeated-equality-comparison/
"PLR2004", # https://docs.astral.sh/ruff/rules/magic-value-comparison/
"PLW0128", # https://docs.astral.sh/ruff/rules/redeclared-assigned-name/
"PLW0603", # https://docs.astral.sh/ruff/rules/global-statement/
"PLW2901", # https://docs.astral.sh/ruff/rules/redefined-loop-name/
]
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["eth2spec"]
order-by-type = false