-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
32 lines (26 loc) · 991 Bytes
/
pyproject.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
[tool.ruff]
target-version = "py311"
line-length = 90
# Rules to enable (see https://beta.ruff.rs/docs/rules/)
select = ["ALL"]
ignore = [
"D100", # (Missing docstring in public module)
"D101", # (Missing docstring in public class)
"D102", # (Missing docstring in public method)
"D103", # (Missing docstring in public function)
"D104", # (Missing docstring in public package)
"D105", # (Missing docstring in magic method)
"D106", # (Missing docstring in public nested class)
"D107", # (Missing docstring in `__init__`)
"D203", # (1 blank line required before class docstring) (Reason: To prefer D203 for no blank line)
"D212", # (Multi-line docstring summary should start at the first line) (Reason: To prefer D213 for second line)
"ANN101", # (Missing type annotation for `self` in method)
]
[tool.ruff.per-file-ignores]
"tests/**" = [
"S101", # (Use of `assert` detected)
]
[tool.isort]
profile = "black"
[tool.black]
line_length = 90