-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathruff.toml
More file actions
32 lines (29 loc) · 710 Bytes
/
ruff.toml
File metadata and controls
32 lines (29 loc) · 710 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
line-length = 120
exclude = [
"anri/sandbox",
"docs/",
# "tests/"
"scripts/release_notes.py",
"scripts/prepare_changelog.py"
]
[lint]
extend-select = [
"D",
"N",
"F841",
"ANN",
]
ignore = [
"E741", # allow "ambiguous" variable names
"E743", # allow "ambiguous" function names
"N802", # allow uppercase function names
"N803", # allow uppercase argument names
"N806", # allow uppercase variable names
]
[lint.per-file-ignores]
"tests/*" = ["D", "ANN"] # Ignore "D" (Docstrings) in the tests folder
"__init__.py" = ["F401"] # Ignore unused imports in init files
[lint.pydocstyle]
convention = "numpy"
ignore-decorators = []
property-decorators = []