-
Notifications
You must be signed in to change notification settings - Fork 79
/
pyproject.toml
84 lines (76 loc) · 2.16 KB
/
pyproject.toml
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
73
74
75
76
77
78
79
80
81
82
83
84
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ruuvitag_sensor"
version = "2.3.1"
authors = [
{ name="Tomi Tuhkanen", email="[email protected]" },
]
description = "Find RuuviTag sensors and get decoded data from selected sensors"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Framework :: Pytest"
]
keywords = [ "RuuviTag BLE" ]
dependencies = [
"reactivex",
"ptyprocess;platform_system=='Linux'",
"bleak",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-asyncio",
"ruff",
"mypy"
]
[project.urls]
homepage = "https://github.com/ttu/ruuvitag-sensor"
source = "https://github.com/ttu/ruuvitag-sensor"
changelog = "https://github.com/ttu/ruuvitag-sensor/blob/master/CHANGELOG.md"
"Bug Tracker" = "https://github.com/ttu/ruuvitag-sensor/issues"
[tool.pytest.ini_options]
testpaths = "tests/"
[tool.ruff]
exclude = [".venv", ".git", ".eggs", "__pycache__", "build", "dist"]
line-length = 120
[tool.ruff.lint]
select = [
"A", # flake8-builtins
"C90", # maccabe
"E", # pycodestyle errors
"F", # pyflakes
"G", # flake8-logging-format
"I", # isort
"PERF", # perflint
"PIE", # flake8-pie
"PL", # pylint
"PTH", # flake8-use-pathlib
"Q", # flake8-quotes
"RUF", # ruff-specific rules
"SIM", # flake8-simplify
"W", # pycodestyle warnings
]
ignore = [
"PLR2004", # Magic value used in comparison
"RUF006", # Store a reference to the return value of asyncio.create_task
]
[tool.ruff.lint.mccabe]
max-complexity = 12
[tool.mypy]
python_version = 3.9
ignore_missing_imports = true