-
Notifications
You must be signed in to change notification settings - Fork 207
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (67 loc) · 1.58 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (67 loc) · 1.58 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
[project]
name = "gittensor"
version = "5.0.0"
description = "gittensor"
readme = "README.md"
license = "MIT"
requires-python = ">=3.12"
dependencies = [
"bittensor==10.3.1",
"bittensor-cli==9.21.1",
"click==8.3.2",
"psycopg[binary]==3.3.4",
"rich==14.3.3",
"tree-sitter==0.24.0",
"tree-sitter-language-pack==0.7.2",
"wandb==0.26.1",
]
[project.optional-dependencies]
dev = [
"pre-commit==4.6.0",
"pyright==1.1.408",
"pytest==9.0.3",
"ruff==0.15.12",
"vulture==2.16",
]
debug = [
"debugpy==1.8.20",
]
[project.scripts]
gitt = "gittensor.cli.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "single"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.vulture]
# Dead-code scanner
# Surviving suppressions live in `vulture_whitelist.py`
paths = ["gittensor", "neurons", "scripts", "vulture_whitelist.py"]
ignore_decorators = [
# Click command/group registration - vulture cannot see the registry calls
"@click.command",
"@click.group",
"@*.command",
"@*.group",
]
exclude = [
".venv/",
"smart-contracts/",
"assets/",
# Upstream bittensor-template scaffolding
"neurons/base/",
# On-chain shape mirror - dataclass/enum members not actionable
"gittensor/validator/issue_competitions/contract_client.py",
# das-github-mirror wire-format schema
"gittensor/utils/mirror/models.py",
]
min_confidence = 60
sort_by_size = true