-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
27 lines (23 loc) · 774 Bytes
/
ruff.toml
File metadata and controls
27 lines (23 loc) · 774 Bytes
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
line-length = 120
target-version = "py311"
exclude = [
# Generated proto stubs — do not lint
"coordinode/coordinode/_proto/",
# Generated version files — do not lint
"**/_version.py",
# Git submodule — managed separately
"coordinode-rs/",
# Jupyter auto-save artifacts — not committed
"**/.ipynb_checkpoints/",
]
[lint]
select = ["E", "F", "I", "W", "UP"]
ignore = [
"E501", # line length handled by formatter
]
[lint.per-file-ignores]
# Jupyter notebooks: multi-import lines, out-of-order imports after subprocess
# install cells, and unsorted imports are normal in demo notebook code.
"**/*.ipynb" = ["E401", "E402", "I001"]
[lint.isort]
known-first-party = ["coordinode", "langchain_coordinode", "llama_index_coordinode"]