forked from uabrc/uabrc.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ruff.toml
More file actions
43 lines (40 loc) · 682 Bytes
/
Copy path.ruff.toml
File metadata and controls
43 lines (40 loc) · 682 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
fix = true
indent-width = 4
line-length = 88
required-version = ">=0.15.6"
show-fixes = true
[lint]
per-file-ignores = { "test/*" = [
"ANN201",
"ANN202",
"D101",
"D102",
"D100",
"PT",
], "**/*.ipynb" = [
"T201",
"ANN401",
], "**/__init__.py" = [
"D104",
] }
ignore = [
"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"]
[format]
indent-style = "space"
line-ending = "lf"
quote-style = "double"
skip-magic-trailing-comma = false