-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
63 lines (57 loc) · 1.88 KB
/
ruff.toml
File metadata and controls
63 lines (57 loc) · 1.88 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
target-version = "py310"
line-length = 120
src = [
"Shared/src",
"Text2D/src",
"Text3D/src",
"Paint3D/src",
"Part3D/src",
"GameAssets/src",
"Texture2D/src",
"Text2Sound/src",
"Skymap2D/src",
"GameDevLab/src",
"Terrain3D/src",
"Animator3D/src",
"Rigging3D/src/rigging3d",
]
exclude = [
".venv",
".venv312",
".venv-ci",
"venv",
"build",
"dist",
".eggs",
"__pycache__",
"node_modules",
".git",
"Rigging3D/src/rigging3d/unirig",
"Text3D/src/text3d/hy3dshape",
"Terrain3D/src/terrain3d/vendor",
]
[lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
[lint.per-file-ignores]
"**/tests/**" = ["S101", "PLR2004"]
# Import após sys.path.insert ou importorskip (instaladores / testes com deps opcionais)
"**/scripts/installer.py" = ["E402"]
"Materialize/installer/installer.py" = ["E402"]
"Text2Sound/tests/test_audio_processor.py" = ["E402"]
"Text2Sound/tests/test_generator.py" = ["E402"]
# Vendored code (Tencent Hunyuan3D) - only critical errors
"**/hunyuan3d-2.1/**" = ["E722", "E711", "E713", "E714", "UP", "B006", "RUF", "SIM", "W293", "W291", "F811", "E501", "E402", "B007", "F401"]
"**/hy3dpaint/**" = ["E722", "E711", "E713", "E714", "UP", "B006", "RUF", "SIM", "W293", "W291", "F811", "E501", "E402", "B007", "F401"]
"**/DifferentiableRenderer/**" = ["E722", "E711", "E713", "E714", "UP", "B006", "RUF", "SIM", "W293", "W291", "F811", "E501", "E402", "B007"]
"**/utils/pipeline_utils.py" = ["B007", "E501", "E402"]
"**/utils/realesrgan_infer.py" = ["E501", "E402"]
"**/textureGenPipeline.py" = ["E402", "F401"]
# Experiments (research code)
"experiments/**" = ["I001", "SIM108"]
# Animator3D / Rigging3D - minor style issues
"Animator3D/**" = ["B007", "RUF059", "RUF100", "I001"]
"Rigging3D/**" = ["RUF100", "SIM102", "I001"]
[format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"