-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
56 lines (50 loc) · 1.56 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
[project]
name = "ibet-SmartContract"
version = "25.6"
authors = [
{name = "BOOSTRY Co., Ltd.", email = "[email protected]"},
]
license = {text = "Apache License, Version 2.0"}
requires-python = "==3.11.11"
dependencies = [
"eth-brownie~=1.20.3",
]
description = "SmartContracts that provides token standards, decentralized exchanges, and other utility functions that can be used on the ibet-Network."
[tool.uv]
dev-dependencies = [
"pre-commit<4.0.0,>=3.6.0",
"ruff<1.0.0,>=0.5.4",
]
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py311"
exclude = [".venv/*"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
skip-magic-trailing-comma = false
[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 = [".venv/*"]
[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