-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (54 loc) · 1.53 KB
/
pyproject.toml
File metadata and controls
60 lines (54 loc) · 1.53 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
[project]
name = "eip7702-example"
version = "0.0.1"
description = "An example project demonstrating EIP-7702 functionality."
authors = [
{name = "BOOSTRY Co., Ltd.", email = "dev@boostry.co.jp"},
]
license = {text = "MIT"}
readme = "README.md"
requires-python = "==3.13.11"
dependencies = [
"coincurve~=21.0.0",
"eth-account~=0.13.7",
"web3~=7.14.0",
]
[dependency-groups]
dev = [
"ruff<1.0.0,>=0.5.4",
"pytest<9.0.0,>=8.2.2",
]
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py313"
exclude = [".venv/*"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
skip-magic-trailing-comma = false
exclude = []
[tool.ruff.lint]
preview = true
explicit-preview-rules = true
# E: pycodestyle
# F: Pyflakes
select = ["E", "F"]
# UP042: Checks for classes that inherit from both str and enum.Enum
extend-select = ["UP042"]
# E711: Comparison to `None` should be `cond is None`
# E712: Avoid equality comparisons to False
# E721: Use is and is not for type comparisons, or isinstance() for isinstance checks
# E722: Do not use bare except
# E402: Module level import not at top of file
# E731: Do not assign a lambda expression, use a def
# E501: Line too long (trust formatter)
ignore = ["E402", "E711", "E712", "E721", "E722", "E731", "E501"]
exclude = ["migrations/*"]
[tool.ruff.lint.extend-per-file-ignores]
# F401 [*] xxx imported but unused
# F403 from .main import * used; unable to detect undefined names
"__init__.py" = ["F401", "F403"]
[tool.ruff.lint.isort]
combine-as-imports = true