-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
107 lines (92 loc) · 2.68 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
[project]
name = "certora-quorum"
dynamic = ["version"]
[tool.poetry]
name = "certora-quorum"
version = "0.0.0"
description = "Quorum: Open-Source Governance Security Tool for Web3 Protocols"
authors = ["Cerotra <[email protected]>" ,"Niv Vaknin <[email protected]>", "Liav Katry <[email protected]>"]
license = "MIT"
readme = "README.md"
keywords = ["Quorum", "Proposals", "Reports"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
packages = [
{ include = "quorum", from = "src" }
]
[tool.poetry.scripts]
quorum = "quorum.entry_points.quorum_cli:main"
[tool.poetry.dependencies]
python = ">=3.11, <4.0"
ruff = "^0.6.0"
requests = "^2.32.3"
gitpython = "^3.1.44"
py-solc-x = "^2.0.3"
pydantic = "^2.10.4"
eth-abi = "^5.1.0"
eth-utils = "^5.1.0"
pytest = "^8.3.4"
eth-hash = {extras = ["pycryptodome"], version = "^0.7.0"}
langchain = "^0.3.14"
jinja2 = "^3.1.5"
langchain-anthropic = "^0.3.1"
langchain-community = "^0.3.14"
python-dotenv = "^1.0.1"
json5 = "^0.10.0"
argcomplete = "^3.5.3"
charset-normalizer = "^3.4.1"
langgraph = "^0.2.61"
langgraph-checkpoint = "^2.0.9"
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.29.5"
poetry-dynamic-versioning = {extras = ["plugin"], version = "^1.5.0"}
[tool.ruff]
target-version = "py311"
src = ["src"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
"YTT", # flake8-2020
"ASYNC", # flake8-async
"C4", # flake8-comprehensions
"G", # flake8-logging-format
"RUF", # Ruff-specific rules
"PT", # flake8-pytest-style # TODO: Fix PT004
"TCH", # flake8-type-checking # TODO: Fix typing blocks
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
]
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["quorum"]
[tool.ruff.lint.mccabe]
max-complexity = 20
[tool.ruff.format]
# Use `\n` line endings for all files
line-ending = "lf"
[tool.ruff.lint.pycodestyle]
max-line-length = 120
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
[tool.poetry-dynamic-versioning.substitution]
folders = [{ path = "src" }]
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"