-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathruff.toml
More file actions
41 lines (39 loc) · 850 Bytes
/
ruff.toml
File metadata and controls
41 lines (39 loc) · 850 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
exclude = [
# legacy/experimental dirs - fix incrementally
"demo/",
"ratc/",
"ratc2/",
"example/",
"0mq/",
"measurements/",
"tools/",
"nintan/",
"testsou/",
"linktest/",
"fri/",
"gi/",
"humanc/",
# core modules - maintainer-managed, don't touch yet
"mkconcore.py",
"concore.py",
"concoredocker.py",
"concore_base.py",
"contribute.py",
"copy_with_port_portname.py",
# not valid Python (Dockerfiles)
"Dockerfile.py",
"Dockerfile.m",
"Dockerfile.sh",
"Dockerfile.v",
"Dockerfile.java",
]
[lint]
select = ["E", "F"]
ignore = [
"E501", # line too long - enforce incrementally
"E712", # comparison to True/False - common in tests
"E721", # type comparison - common in tests
]
[format]
quote-style = "double"
indent-style = "space"