-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
25 lines (22 loc) · 761 Bytes
/
Copy pathpyproject.toml
File metadata and controls
25 lines (22 loc) · 761 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
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"D", # pydocstyle
"F", # pyflakes
"BLE", # blind exception (except Exception)
]
ignore = [
"D203", # 1 blank line required before class docstring (conflicts with D211)
"D212", # Multi-line docstring summary should start at the first line (we use D213 style)
"D400", # First line should end with a period
"D401", # First line should be in imperative mood
"D415", # First line should end with punctuation
]
[tool.ruff.lint.per-file-ignores]
"custom_components/thz/register_maps/*.py" = ["D100", "D104", "E501"]
[tool.ruff.lint.pydocstyle]
convention = "google"