-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.ruff.toml
More file actions
21 lines (17 loc) · 708 Bytes
/
Copy path.ruff.toml
File metadata and controls
21 lines (17 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# The contents of this file is based on https://github.com/home-assistant/core/blob/dev/pyproject.toml
[lint]
ignore = [
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
"D203", # no-blank-line-before-class (incompatible with formatter)
"D212", # multi-line-summary-first-line (incompatible with formatter)
"COM812", # incompatible with formatter
"ISC001", # incompatible with formatter
"A005", # Module `select` shadows a Python standard-library module
"BLE001", # Do not catch blind exception: `Exception
]
[lint.flake8-pytest-style]
fixture-parentheses = false
[lint.pyupgrade]
keep-runtime-typing = true
[lint.mccabe]
max-complexity = 25