-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
90 lines (79 loc) · 1.76 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
[tool.poetry]
name = "sw-utils"
version = "v0.7.5"
description = "StakeWise Python utils"
authors = ["StakeWise Labs <info@stakewise.io>"]
license = "GPL-3.0-or-later"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
sw-milagro-bls-binding = "==1.9.0"
py-ecc = "^6.0.0"
ipfshttpclient = "^0.8.0a2"
web3 = "==6.15.1"
tenacity = "==8.2.3"
pyjwt = "==2.8.0"
ssz = "==0.5.0"
gql = {extras = ["aiohttp"], version = "==3.5.0"}
[tool.poetry.group.dev.dependencies]
pylint = "^3.0.1"
mypy = "^1.6.1"
isort = "^5.10.1"
pre-commit = "^3.5.0"
Flake8-pyproject = "^1.1.0"
black = "^23.10.0"
bandit = {version = "^1.7.4", extras = ["toml"]}
faker = "^19.11.0"
pytest = "^7"
pytest-asyncio = "^0.21.1"
flake8-print = "==5.0.0"
flake8-datetimez = "==20.10.0"
types-requests = "^2.28.11.15"
[tool.bandit]
exclude_dirs = ["*/tests/*"]
[tool.pylint."pre-commit-hook"]
disable=["C0103", "C0114", "C0115", "C0116", "R0801", "R0903", "W0703", "W1514", "W0511"]
ignore-paths=[".*/tests/.*"]
[tool.pylint."BASIC"]
good-names = ["i", "el", "e", "w", "f", "w3"]
ignored-modules=["milagro_bls_binding"]
[tool.flake8]
max-line-length = 100
extend-ignore = [
"E203", # whitespace before ':'
]
exclude = [
"*/__init__.py",
]
[tool.isort]
profile = "black"
[tool.mypy]
exclude = ["test"]
ignore_missing_imports = true
python_version = "3.10"
disallow_untyped_defs = true
disallow_incomplete_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
[tool.black]
line-length = 100
skip-string-normalization = true
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"