-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (33 loc) · 812 Bytes
/
Copy pathpyproject.toml
File metadata and controls
37 lines (33 loc) · 812 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "color"
version = "0.1.0"
description = "Color helper for Home Assistant (HACS custom integration)."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.13"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
norecursedirs = [".reference", ".venv", "build", "dist"]
[tool.ruff]
target-version = "py313"
line-length = 100
extend-exclude = [".reference"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # bugbear
"C4", # comprehensions
"PT", # pytest style
"RET", # return
"SIM", # simplify
]
ignore = [
"E501", # line length handled by formatter
]