-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.ruff.toml
More file actions
44 lines (42 loc) · 689 Bytes
/
.ruff.toml
File metadata and controls
44 lines (42 loc) · 689 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
42
43
44
fix = true
indent-width = 4
line-length = 88
required-version = ">=0.14.0"
show-fixes = true
[lint]
ignore = [
"D107",
"D203", # prefer conflicting D211
"D213", # prefer conflicting D212
"COM819", # prefer conflicting COM812
"W191", # START: conflict with ruff formatting
"E111",
"E114",
"E117",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003", # END
]
select = ["ALL"]
per-file-ignores = { "test/*" = [
"ANN201",
"ANN202",
"D100",
"D101",
"D102",
"D103",
"FBT001",
"PT",
"S101",
], "**/*.ipynb" = [
"T201",
"ANN401",
] }
[format]
indent-style = "space"
line-ending = "lf"
quote-style = "double"
skip-magic-trailing-comma = false