-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (62 loc) · 1.48 KB
/
pyproject.toml
File metadata and controls
72 lines (62 loc) · 1.48 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[tool.poetry]
name = "limitlessled"
version = "1.2.0"
description = "Control LimitlessLED, Milight, etc. products."
authors = ["happyleaves <happyleaves.tfr@gmail.com>", "Jerome Boisvert-Chouinard <github@jbchouinard.net>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/happyleavesaoc/python-limitlessled/"
packages = [
{ include = "limitlessled" }
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.group.dev.dependencies]
pytest = "6.2.5"
pytest-cov = "2.12.1"
pytest-sugar = "0.9.4"
twine = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["I"]
[tool.ruff.lint.isort]
# Configure isort settings
known-first-party = ["limitlessled"]
force-single-line = false
force-sort-within-sections = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py39,py310,py311,py312,py313
skip_missing_interpreters = True
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
ignore_errors = True
setenv =
LANG=en_US.UTF-8
PYTHONPATH={toxinidir}:{toxinidir}/limitlessled
PYTHON_ENV=test
deps =
pytest==6.2.5
pytest-cov==2.12.1
pytest-sugar==0.9.4
commands =
py.test -v --cov-report term-missing --cov limitlessled
"""