forked from quantalogic/quantalogic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruff.toml
48 lines (42 loc) · 1.2 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
38
39
40
41
42
43
44
45
46
47
48
# Ruff configuration for QuantaLogic2
# Target Python version
target-version = "py312"
# Line length
line-length = 120
# Linting rules
[lint]
# Enable specific rules
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"D", # pydocstyle
"UP", # pyupgrade
]
# Ignore specific rules
ignore = [
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
"E501", # line too long
"UP035", #
"UP007",
"UP006",
"UP008",
"UP009",
"D107", # Missing docstring in __init__
"D103", # Missing docstring in public function
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D212", # Multi-line docstring summary should start at the third line
"D205", # 1 blank line required between summary line and description
"D100", # Missing docstring in public module
"D415", # First line should end with a period
"D104", # First word of the docstring should not be This
]
# Docstring configuration
[lint.pydocstyle]
convention = "google"
# Import sorting
[lint.isort]
known-first-party = ["quantalogic"]