-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (41 loc) · 831 Bytes
/
pyproject.toml
File metadata and controls
47 lines (41 loc) · 831 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
43
44
45
46
47
[tool.black]
line-length = 120
target-version = ['py314']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| node_modules
| tmp
)/
'''
[tool.ruff]
line-length = 120
target-version = "py314"
exclude = ["node_modules", "tmp"]
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E501"] # Ignore line length for now as many scripts are slightly over
[tool.mypy]
python_version = "3.14"
show_error_codes = true
ignore_missing_imports = true
check_untyped_defs = true
exclude = ["node_modules", "tmp"]
[[tool.mypy.overrides]]
module = "homeassistant.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "voluptuous.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "yaml.*"
ignore_missing_imports = true