forked from Ankvik-Tech-Labs/gmx_python_sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
117 lines (101 loc) · 2.49 KB
/
pyproject.toml
File metadata and controls
117 lines (101 loc) · 2.49 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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[tool.poetry]
name = "gmx-python-ng"
version = "1.0.1"
description = "A Python SDK for interacting with GMX"
authors = [
"snipermonke01 <snipermonke01@proton.me>",
"alienf33t <alienf33t@yahoo.com>",
"aviksaikat <github.maturity983@passinbox.com>",
"Mikko Ohtamaa <mikko@tradingstrategy.ai>"
]
maintainers = [
"Mikko Ohtamaa <mikko@tradingstrategy.ai>",
"aviksaikat <github.maturity983@passinbox.com>"
]
repository = "https://github.com/tradingstrategy-ai/gmx-python-ng"
readme = "README.md"
license = "MIT"
packages = [
{ include = "gmx_python_sdk" },
]
[tool.poetry.group.dev.dependencies]
dotenv = "^0.9.9"
rich = "^14.0.0"
ipython = "8.19"
[tool.setuptools.packages.find]
include = ["gmx_python_sdk", "gmx_python_sdk.*"]
namespaces = false
[tool.poetry.dependencies]
# this will break prjects with python > 3.10.x
python = ">= 3.10, < 4"
numpy = ">= 1.26.3"
hexbytes = ">= 0.3.1"
web3 = ">= 6.10.0"
pyyaml = ">= 6.0.1"
pandas = ">= 1.4.2"
numerize = ">= 0.12"
Packaging = ">= 24.1"
ruff = "^0.11.6"
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
select = [
"A",
"ARG",
"B",
"C",
"DTZ",
"E",
"EM",
"F",
"FBT",
"ICN",
"ISC",
"N",
"PLC",
"PLE",
"PLR",
"PLW",
"Q",
"RUF",
"S",
"T",
"TID",
"UP",
"W",
"YTT",
]
ignore = [
# Allow non-abstract empty methods in abstract base classes
"B027",
# Allow boolean positional values in function calls, like `dict.get(... True)`
"FBT003",
# Ignore checks for possible passwords
"S105",
"S106",
"S107",
# Ignore complexity
"C901",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0915",
"ISC001"
]
[tool.ruff.lint.per-file-ignores]
# Tests can use magic values, assertions, and relative imports
"tests/**/*" = ["PLR2004", "S101", "TID252", "PLR2004"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# See PyPi for supported links https://github.com/pypi/warehouse/blob/main/warehouse/templates/packaging/detail.html
# https://stackoverflow.com/a/74394591/315168
# https://pypi.org/project/links-demo/
[tool.poetry.urls]
Changelog = "https://github.com/tradingstrategy-ai/web3-ethereum-defi/blob/master/CHANGELOG.md"
Documentation = "https://web3-ethereum-defi.readthedocs.io/"
Twitter = "https://twitter.com/tradingprotocol"
Youtube = "https://www.youtube.com/@tradingstrategyprotocol"
Discord = "https://discord.gg/5M88m9nM8H"
Sponsor = "https://tradingstrategy.ai"