-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (80 loc) · 1.81 KB
/
pyproject.toml
File metadata and controls
89 lines (80 loc) · 1.81 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
[project]
name = "ataxx-zero"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"numpy>=2.2.6",
"pytorch-lightning>=2.6.1",
"torch>=2.10.0",
]
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 88
target-version = "py310"
extend-exclude = ["*.ipynb"]
[tool.repo_policy]
max_python_file_lines = 500
[tool.ruff.lint]
ignore = [
"E501", # line too long (manejado por el formateador)
]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade (sintaxis moderna)
"B", # bugbear (mejores prácticas)
"C4", # comprensiones
"SIM", # simplificaciones
"RUF", # reglas específicas de Ruff
"N", # nomenclatura PEP8
"ANN", # anotaciones de tipos obligatorias
"S", # seguridad (bandit)
"PTH", # usar pathlib en lugar de os.path
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # imports sin usar en __init__ están bien
[tool.ruff.format]
indent-style = "space"
quote-style = "double"
[dependency-groups]
api = [
"huggingface-hub>=1.4.1",
"fastapi>=0.121.1",
"python-jose[cryptography]>=3.5.0",
"python-dotenv>=1.2.1",
"pydantic-settings>=2.11.0",
"passlib[bcrypt]>=1.7.4",
"sqlalchemy[asyncio]>=2.0.44",
"sqlmodel>=0.0.27",
"asyncpg>=0.30.0",
"uvicorn[standard]>=0.38.0",
"alembic>=1.14.0",
"onnxruntime>=1.22.1",
]
dev = [
"aiosqlite>=0.21.0",
"httpx>=0.28.1",
"pyrefly>=0.52.0",
"pytest>=9.0.2",
"ruff>=0.15.1",
]
export = [
"onnx>=1.19.1",
"onnxscript>=0.5.4",
]
train = [
"huggingface-hub>=1.4.1",
"tensorboard>=2.20.0",
]
ui = [
"pygame>=2.6.1",
]