-
Notifications
You must be signed in to change notification settings - Fork 29
/
pyproject.toml
98 lines (84 loc) · 2.37 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
91
92
93
94
95
96
97
98
[tool.poetry]
name = "solders"
version = "0.23.0"
description = "Python bindings for Solana Rust tools"
authors = ["kevinheavey <kevinheavey123@gmail.com>"]
license = "Apache"
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.dev.dependencies]
sphinx = "6.2.1"
sphinx-rtd-theme = "1.2.0"
maturin = "1.3.2"
pybip39 = "0.1.0"
based58 = "0.1.1"
bumpversion = "0.6.0"
"jsonalias" = "0.1.1"
ruff = "0.1.6"
mnemonic = "0.20"
mypy = "0.991"
pytest = "7.2.1"
pytest-asyncio = "^0.20.3"
myst-parser = "^1.0.0"
[build-system]
requires = ["maturin>=1.3.2,<1.4"]
build-backend = "maturin"
[project]
name = "solders"
version = "0.23.0"
description = "Python bindings for Solana Rust tools"
authors = [ {name = "kevinheavey", email = "kevinheavey123@gmail.com"} ]
license = {file = "LICENSE"} # relative to the package/ directory
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = ["typing-extensions >=4.2.0", "jsonalias ==0.1.1"]
[project.urls]
homepage = "https://github.com/kevinheavey/solders"
documentation = "https://kevinheavey.github.io/solders/"
repository = "https://github.com/kevinheavey/solders"
changelog = "https://github.com/kevinheavey/solders/blob/main/CHANGELOG.md"
[tool.maturin]
python-source = "python"
[tool.pyright]
reportMissingModuleSource = false
[tool.ruff]
line-length = 88
select = ["A", "B", "D", "E", "F", "I", "ARG", "BLE", "C4", "SIM", "PLC", "PLE", "PLR", "PLW", "RUF"]
ignore = ["D203", "PLR0913"]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py39"
[tool.ruff.per-file-ignores]
"src/solana/blockhash.py" = ["A003"]
"tests/**/*.py" = ["D100", "D103", "D104", "E501", "ARG001", "PLR2004"]
"python/solders/*.pyi" = ["D", "ARG", "A"]
"python/solders/__init__.py" = ["D104", "F401"]
"python/solders/system_program.py" = ["D100", "I001"]
[tool.ruff.pydocstyle]
convention = "google"