-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (80 loc) · 2.04 KB
/
pyproject.toml
File metadata and controls
87 lines (80 loc) · 2.04 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
[project]
name = "reference-architecture"
version = "0.1.0"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"argparse>=1.4.0",
"asyncio>=4.0.0",
"boto3>=1.42.45",
"datasets>=4.5.0",
"evaluate>=0.4.6",
"httpx>=0.28.1",
"kubernetes>=35.0.0",
"marimo>=0.23.0",
"moutils>=0.3.12",
"ray>=2.53.0",
"ruamel-yaml>=0.19.1",
"statistics>=1.0.3.5",
"torch>=2.10.0",
"transformers>=5.0.0",
"typing-extensions>=4.15.0",
"wandb>=0.24.2",
]
[dependency-groups]
dev = [
"boto3-stubs[s3]>=1.42.48",
"pre-commit>=4.5.1",
"ruff>=0.15.0",
"marimo[lsp]>=0.23.0",
"mypy-boto3-s3>=1.42.37",
"basedpyright>=1.38.2",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "I", "C", "D"]
ignore = [
"D100", # docstring in public module
"D104", # docstring in public package
]
[tool.ruff.lint.per-file-ignores]
# Ignore common notebook noise:
"arena/notebooks/*.py" = [
"F401", # unused import
"F841", # unused variable
"E999", # syntax errors
"E501", # line length, since we have big multiline strings for markdown
]
"arena-staging/**.py" = [
"F401", # unused import
"F841", # unused variable
"E999", # syntax errors
"E501", # line length, since we have big multiline strings for markdown
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.basedpyright]
reportUnknownMemberType = false
reportUnknownVariableType = false
reportUnknownArgumentType = false
reportUnknownParameterType = false
reportMissingTypeArgument = false
reportMissingTypeStubs = false
reportArgumentType = false
reportUnusedVariable = false
reportUnusedCallResult = false
reportAny = false
reportExplicitAny = false
reportPrivateUsage = false
reportCallIssue = false
reportUnannotatedClassAttribute = false
reportImplicitStringConcatenation = false
ignore = [
"arena/notebooks/*.py",
"arena-staging/*.py"
]
# Language server configuration
[tool.marimo.language_servers.pylsp]
enabled = true # Enable/disable the Python language server inside the notebook editor
enable_ruff = true