-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (95 loc) · 2.26 KB
/
Copy pathpyproject.toml
File metadata and controls
103 lines (95 loc) · 2.26 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
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "synth-subnet"
version = "1.0.0"
requires-python = ">=3.11"
dependencies = [
"starlette>=0.37.2",
"pydantic>=2",
"rich>=13",
"numpy>=1",
"setuptools>=68",
"requests>=2",
"properscoring>=0.1",
"pandas>=2.2.3",
"bittensor==10.4.1",
"bittensor-cli==9.22.3",
"alembic>=1.14.0",
"python-dotenv>=1.0.1",
"psycopg2-binary>=2.9.10",
"sqlalchemy>=2.0.36",
"wandb>=0.19.4",
"tenacity==9.0.0",
"google-cloud-bigtable>=2.23.0",
"google-cloud-logging==3.12.1",
"uvloop==0.21.0",
"httpx[http2]==0.28.1",
"anyio==4.12.1",
"numba==0.63.1",
"hyperliquid-python-sdk==0.22.0",
"netaddr==1.3.0",
]
[dependency-groups]
dev = [
"pre-commit==4.1.0",
"pytest>=8",
"black>=25.1.0",
"testcontainers>=4.9.0",
"pylint>=3.3.4",
"flake8==7.1.2",
"mypy==1.15.0",
"mypy-extensions==1.0.0",
"pandas-stubs==2.2.2.240807",
"types-requests==2.32.0.20250328",
"Flake8-pyproject==1.2.3",
]
# Flat layout with several top-level dirs (verify/, research/, alembic/, …):
# tell setuptools to ship only the importable runtime packages, so downstream
# consumers can build a wheel (auto-discovery refuses to guess otherwise).
[tool.setuptools.packages.find]
include = ["synth*", "neurons*"]
[tool.black]
line-length = 79
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| env
| venv
| bt_venv
| .eggs
)/
'''
[tool.mypy]
disable_error_code = ["type-arg", "import-untyped", "no-untyped-def", "no-untyped-call"]
python_version = "3.11"
strict = true
show_error_codes = true
warn_unused_ignores = true
exclude = ["venv", "bt_venv", ".venv"]
[tool.pylint]
ignore = [".git","__pycache__","old","build","dist","venv",".venv","bt_venv"]
[tool.pylint.messages_control]
max-args = 10
disable = [
"consider-using-generator",
"line-too-long",
"unnecessary-pass",
"fixme",
"missing-function-docstring",
"broad-exception-caught",
"missing-module-docstring"
]
[tool.flake8]
extend-ignore = ["E501", "E203"]
exclude = [".git","__pycache__","old","build","dist","bt_venv","venv",".venv", "docs"]
max-complexity = 10