-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (39 loc) · 946 Bytes
/
Copy pathpyproject.toml
File metadata and controls
42 lines (39 loc) · 946 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
33
34
35
36
37
38
39
40
41
42
[tool.ruff]
line-length = 80
indent-width = 4
target-version = "py311"
extend-exclude = [
"addon_updater.py",
"addon_updater_ops.py",
"operators/get-pip.py"
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"N", # pep8-naming
"UP", # pyupgrade
"PL", # pylint
"RUF", # ruff-specific rules
]
ignore = [
"B905", # zip without explicit strict
"E501", # lines too long (handled by formatter)
"N801", # invalid class name
"N999", # invalid module name
"PLW0603", # global statement
"RUF012", # mutable class default
"UP006", # non pep585 annotation
"UP007", # non pep604 annotation union
"UP032", # f-string
"UP035", # deprecated import
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"