generated from lidofinance/python-base-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
79 lines (72 loc) · 1.65 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
[tool.poetry]
name = "ethereum-head-watcher"
version = "0.2.1"
description = "Bot that watches for important events on Ethereum head"
authors = ["[email protected]"]
license = "MIT License"
readme = "README.md"
include = [
"LICENSE",
]
[tool.poetry.dependencies]
python = "^3.11"
prometheus-client = "^0.16.0"
requests = "^2.27.1"
unsync = "^1.4.0"
json-stream = "^2.3.0"
eth-typing = "^3.3.0"
mypy = "^1.3.0"
sseclient-py = "^1.7.2"
web3 = "^6.6.1"
web3-multi-provider = "^0.6.0"
pyyaml = "^6.0.1"
types-pyyaml = "^6.0.12.11"
[tool.poetry.dev-dependencies]
pytest = "7.3.1"
pylint = "^2.16.2"
black = "^23.3.0"
types-requests = "^2.31.0.1"
isort = "^5.12.0"
[tool.pylint.format]
max-line-length = "120"
[tool.pylint."messages control"]
disable = [
# Disabled by default
"raw-checker-failed",
"bad-inline-option",
"locally-disabled",
"file-ignored",
"suppressed-message",
"useless-suppression",
"deprecated-pragma",
"use-symbolic-message-instead",
# Disabled by us
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring",
"too-few-public-methods",
"invalid-name",
"unused-argument",
"wrong-import-order",
"ungrouped-imports",
"line-too-long",
"too-many-instance-attributes",
"too-many-arguments",
"too-many-locals",
"unspecified-encoding",
"bare-except",
"fixme",
"cell-var-from-loop",
"invalid-envvar-default",
"global-statement",
"redefined-outer-name",
]
[tool.mypy]
strict_equality = true
ignore_missing_imports = true
mypy_path = "stubs"
[tool.isort]
profile = "black"
[tool.black]
line-length = 120
skip-string-normalization = true