-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathruff.toml
More file actions
23 lines (22 loc) · 716 Bytes
/
ruff.toml
File metadata and controls
23 lines (22 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[lint]
# Disable linting rules that conflict with the formatter.
# See more: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules.
ignore = [
'W191', # tab-indentation
'E111', # indentation-with-invalid-multiple
'E114', # indentation-with-invalid-multiple-comment
'E117', # over-indented
'D206', # docstring-tab-indentation
'D300', # triple-single-quotes
'Q000', # bad-quotes-inline-string
'Q001', # bad-quotes-multiline-string
'Q002', # bad-quotes-docstring
'Q003', # avoidable-escaped-quote
'COM812', # missing-trailing-comma
'COM819', # prohibited-trailing-comma
]
[format]
docstring-code-format = true
docstring-code-line-length = 20
quote-style = 'single'
indent-style = 'tab'