-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathruff.toml
37 lines (35 loc) · 1.02 KB
/
ruff.toml
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
fix = true
target-version = "py311"
[format]
docstring-code-format = true
quote-style = "double"
[lint]
ignore = [
"COM812",
"D107", # Missing docstring
"D200", # One-line docstring should fit on one line
"D203", # no-blank-line-before-class
"D212", # multi-line-summary-first-line
"D401", # imperitave mood
"D417", # argument description in docstring (unreliable)
"EM102", # Exception must not use an f-string literal, assign to variable first
"ISC001",
"PLR0913", # too many arguments to function call
"PLR2004", # no 'magic values'
"S101", # no assert statements
]
per-file-ignores = {"docs/*" = [
"D100", # Missing docstring in public module
"INP001", # is part of an implicit namespace package
], "docs/tutorial/*" = [
"D205",
"D400",
"D415",
"T201", # `print` found
], "test_*" = [
"D103", # Missing docstring in public function
"INP001", # is part of an implicit namespace package
"S101",
]}
select = ["ALL"]
isort.known-first-party = ["stack_to_chunk"]