-
-
Notifications
You must be signed in to change notification settings - Fork 341
Expand file tree
/
Copy pathruff.toml
More file actions
26 lines (23 loc) · 1.08 KB
/
ruff.toml
File metadata and controls
26 lines (23 loc) · 1.08 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
# Ruff config for VisiData
# Suppresses intentional style choices; flags real issues only.
[lint]
preview = true
explicit-preview-rules = true
select = ["E", "F", "E302", "E303"]
ignore = [
"E501", # line too long — no line length limit in visidata
"E701", # multiple statements on one line (colon) — deliberate visidata style
"E702", # multiple statements on one line (semicolon) — deliberate visidata style
"E731", # lambda assignment — idiomatic in visidata
"E402", # module import not at top — some loaders need deferred imports
"F401", # unused import — many are intentional re-exports
"F403", # import star — core visidata pattern
"F405", # undefined from import star — consequence of F403
"F811", # redefined while unused — often intentional overrides
"F722", # forward annotation syntax error — visidata uses custom annotations
"E712", # true-false comparison — `== True` used intentionally in some places
"E721", # type comparison — `type(x) != type(y)` used intentionally
]
exclude = [
"deps/",
]