-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
51 lines (47 loc) · 859 Bytes
/
Copy pathruff.toml
File metadata and controls
51 lines (47 loc) · 859 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
45
46
47
48
49
50
51
line-length = 88
force-exclude = true
extend-exclude = [
"__pycache__",
"build",
"_version.py",
"doc/sphinxext/**",
"doc/tools/*.py",
"doc/upload_docs.py",
"tools/**",
# dipy/info.py
]
[lint]
extend-select = [
"B",
"C4",
"ISC",
"FLY",
"I",
"C90",
"PERF",
"W",
"UP",
"FURB",
]
ignore = [
"B905",
"C901",
"F811",
"FURB171",
]
[lint.extend-per-file-ignores]
"dipy/reconst/*.py" = ["B026"]
"dipy/viz/__init__.py" = ["F401"]
"doc/examples/**" = ["E402"]
"doc/conf.py" = ["E402"]
[lint.isort]
case-sensitive = true
combine-as-imports = true
force-sort-within-sections = true
known-first-party = ["dipy"]
no-sections = false
order-by-type = true
relative-imports-order = "closest-to-furthest"
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
[format]
quote-style = "double"