-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
70 lines (60 loc) · 1.36 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
[project]
name = "Reliable-Subtensor"
version = "0.1.0"
description = "Monitoring Local Subtensor"
authors = [
{name = "venus", email = "venus1004@proton.me"},
]
dependencies = [
"bittensor>=8.0.0",
"requests>=2.32.3",
"docker>=7.1.0",
"python-dotenv>=1.0.1",
"watchdog>=5.0.3",
"tenacity>=9.0.0",
"aioresponses>=0.7.6",
"nox>=2024.10.9",
"nox-pdm>=0.0.2",
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
[project.optional-dependencies]
dev = [
"ruff",
"codespell",
"mypy",
"pytest",
"aioresponses",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = false
[tool.pdm.dev-dependencies]
test = [
"pytest>=8.3.3",
]
lint = [
"ruff>=0.6.9",
]
[tool.ruff]
src = ["app/src"]
line-length = 120
[tool.ruff.lint]
# TODO add D
select = [
"E", "F", "I", "UP", "S",
"TCH005",
]
# TODO: remove E501 once docstrings are formatted
ignore = [
"D100", "D105", "D107", "D200", "D202", "D203", "D205", "D212", "D400", "D401", "D415",
"D101", "D102","D103", "D104", # TODO remove once we have docstring for all public methods
"E501", # TODO: remove E501 once docstrings are formatted
"S101", "S108", "S603", "S607",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"**/test*/**.py" = ["D", "F403", "F405", "S106", "S311"]