-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (44 loc) · 1.22 KB
/
pyproject.toml
File metadata and controls
51 lines (44 loc) · 1.22 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
[project]
name = "pumpfun-cli"
version = "0.1.0"
description = "CLI for pump.fun on Solana — trade, launch, and browse tokens"
readme = "README.md"
license = {text = "Apache-2.0"}
requires-python = ">=3.12"
dependencies = [
"typer",
"httpx",
"solana",
"cryptography",
"python-dotenv",
"tomli-w",
"base58>=2.1.1",
]
[project.scripts]
pumpfun = "pumpfun_cli.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--ignore=tests/test_surfpool"
[dependency-groups]
dev = [
"pytest",
"pytest-asyncio",
"pytest-cov>=7.0.0",
"respx",
"ruff>=0.9.0",
"pre-commit",
]
[tool.ruff]
target-version = "py312"
line-length = 99
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"src/pumpfun_cli/cli.py" = ["E402"] # imports after app setup — intentional Typer pattern
"tests/test_core/test_trade.py" = ["E402"] # imports after fixtures
"src/pumpfun_cli/crypto.py" = ["B904"] # raise ValueError without from — intentional clean message
"src/pumpfun_cli/core/launch.py" = ["SIM115"] # open() without context manager — httpx needs tuple