-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (75 loc) · 1.54 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (75 loc) · 1.54 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
[project]
name = "blazefl"
version = "3.0.0"
description = "A blazing-fast, minimalist, and researcher-friendly simulation framework for Federated Learning."
readme = "README.md"
authors = [
{ name = "kitsuyaazuma", email = "kitsuyaazuma@gmail.com" }
]
requires-python = ">=3.14"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"torch>=2.8.0",
]
[project.optional-dependencies]
contrib = [
"tqdm>=4.67.1",
]
reproducibility = [
"numpy>=2.3.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.basedpyright]
typeCheckingMode = "standard"
[tool.mypy]
exclude = [
"benchmarks",
"docs",
"examples",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
[dependency-groups]
dev = [
"mypy>=1.13.0",
"pre-commit>=4.2.0",
"psutil>=7.0.0",
"pytest>=8.3.4",
"ruff>=0.8.2",
"tqdm>=4.67.1",
"types-psutil>=7.0.0.20250601",
"types-tqdm>=4.67.0.20250516",
]
docs = [
"sphinx-book-theme>=1.1.3",
"sphinx>=8.1.3",
"sphinx-autobuild>=2024.10.3",
]
[tool.ruff]
exclude = [
"examples",
"**.pyi",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
]
ignore = []
fixable = ["ALL"]
[tool.uv.workspace]
members = [
"examples/quickstart-fedavg",
"examples/step-by-step-dsfl",
]