-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
72 lines (59 loc) · 1.41 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "fiber"
version = "2.1.0"
description = "The ultra lightweight network for miner-validator communication"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "namoray", email = "namoray@rayonlabs.ai" },
]
dependencies = [
"substrate-interface==1.7.10",
"eth-typing==5.0.0",
"tenacity==9.0.0",
"colorama>0.3.0,<=0.4.6",
"python-dotenv==1.0.1",
"pydantic>2,<=2.9.2",
"netaddr==1.3.0",
"bittensor-commit-reveal==0.1.0"
]
[project.optional-dependencies]
full = [
"fastapi==0.112.0",
"uvicorn==0.30.5",
"cryptography==43.0.0",
"httpx==0.27.0"
]
chain = [] # This is empty because chain dependencies are in the main dependencies
[tool.hatch.build.targets.wheel]
packages = ["fiber"]
[project.scripts]
fiber-post-ip = "fiber.scripts.post_ip_to_chain:main"
[tool.hatch.build]
include = [
"fiber/**/*.py",
]
[tool.hatch.build.targets.sdist]
include = [
"fiber",
]
[tool.pyright]
include = ["fiber"]
exclude = ["**/node_modules", "**/__pycache__", "**/test_*.py"]
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.10"
pythonPlatform = "Linux"
reportMissingModuleSource = false
[tool.ruff]
line-length = 130
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E402"]
[lint.isort]
lines-after-imports = 2
force-single-line = true