-
Notifications
You must be signed in to change notification settings - Fork 29
/
pyproject.toml
59 lines (52 loc) · 1.5 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
[tool.poetry]
name = "siwe"
version = "4.4.0"
description = "A Python implementation of Sign-In with Ethereum (EIP-4361)."
license = "MIT OR Apache-2.0"
authors = [
"Spruce Systems, Inc. <[email protected]>",
"Payton Garland <[email protected]>",
]
readme = "README.md"
homepage = "https://login.xyz"
repository = "https://github.com/spruceid/siwe-py"
keywords = ["SIWE", "EIP-4361", "Sign-In with Ethereum", "Spruce ID"]
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
abnf = ">=2.2,<3"
web3 = ">=7.3.0,<8"
eth-account = ">=0.13.1,<0.14"
eth-typing = ">=3.4.0" # peer of eth-account/web3
eth-utils = ">=2.2.0" # peer of eth-account/web3
pydantic = ">=2.7,<3"
pydantic-core = "^2" # peer of pydantic
typing-extensions = "^4" # peer of pydantic
[tool.poetry.dev-dependencies]
pytest = ">=8.1"
pyhumps = ">=3.8"
ruff = ">=0.4"
deptry = ">=0.16"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.urls]
"EIP" = "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4361.md"
"Discord" = "https://discord.gg/Sf9tSFzrnt"
[tool.pyright]
typeCheckingMode = "basic"
[tool.ruff]
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"RUF", # ruff specific
"PT", # flake8-pytest-style
"SIM", # flake8-simplify
"D", # pydocstyle
"RUF", # ruff-specific rules
]
include = ["siwe/**"]
lint.ignore = ["D203", "D213"]