-
Notifications
You must be signed in to change notification settings - Fork 78
/
pyproject.toml
87 lines (78 loc) · 2.06 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
85
86
87
[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="tomi.tuhkanen@iki.fi" },
]
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",
"flake8-pyproject",
"pylint",
"mypy",
"isort",
"black"
]
[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.flake8]
exclude = ".venv, .git, .eggs, __pycache__, build, dist"
max-line-length = 120
ignore = "E402, E203"
show-source = true
max-complexity = 12
[tool.pylint.messages_control]
max-line-length = 120
disable = [
"import-error",
"missing-docstring",
"invalid-name",
"bare-except",
"broad-except",
"broad-exception-raised",
"fixme",
"dangerous-default-value",
"too-few-public-methods",
"useless-object-inheritance"
]
[tool.mypy]
python_version = 3.9
ignore_missing_imports = true
[tool.isort]
line_length = 120
ensure_newline_before_comments = true
[tool.black]
line-length = 120