pyproject.toml 575 Bytes
Newer Older
Dongz's avatar
Dongz committed
1
[tool.ruff]
PengGao's avatar
PengGao committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
exclude = [
    ".git",
    ".mypy_cache",
    ".ruff_cache",
    ".venv",
    "dist",
    "build",
    "__pycache__",
    "*.egg-info",
    ".pytest_cache",
    ".cluade",
    ".cursor",
    "lightx2v_kernel",
]
Dongz's avatar
Dongz committed
16
17
18
19
20
target-version = "py311"
line-length = 200
indent-width = 4


PengGao's avatar
PengGao committed
21
22
23
24
25
26
27
28
29
30
31
32
[tool.ruff.lint]
extend-select = ["I"]
ignore = ["F"]

[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"]
"**/lightx2v_kernel/*" = ["F401"]
"**/{cookbook,docs}/*" = ["E402", "F401", "F811", "F841"]

[tool.ruff.lint.isort]
known-first-party = ["lightx2v"]
case-sensitive = true