-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
84 lines (74 loc) · 1.9 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
# Project: pylywsdxx
# Hatchling https://packaging.python.org/en/latest/key_projects/#hatch
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pylywsdxx"
description = "A Python3 class to interrogate Xiaomi Mijia LYWSD* sensors."
# version = "2.2.2" # latest/current distribution version
version = "2.3.3" # latest test version
dependencies = [
"bluepy3>=2.13,<2.16",
]
license = "MIT"
authors = [
{ name="Mausy5043" },
]
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Home Automation"
]
[project.urls]
"Homepage" = "https://github.com/Mausy5043/pylywsdxx"
"Bug Tracker" = "https://github.com/Mausy5043/pylywsdxx/issues"
[tool.hatch.build]
include = [
"pylywsdxx/*.py",
"pylywsdxx/py.typed",
]
[tool.autopep8]
max_line_length = 98
in-place = true
recursive = true
aggressive = 1
[tool.bandit]
skips = []
[tool.black]
line-length = 98
target-version = ["py39", "py310", "py311", "py312"]
[tool.flake8]
max_line_length = 98
ignore = [
# function too complex: is what we do ;-)
"C901",
# line too long: is checked by pylint
"E501",
# line break before binary: is against policy.
"W503",
]
[tool.pydocstyle]
inherit = false
convention = 'google'
match = '.*\\.py'
add-ignore = 'D'
[tool.mypy]
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
strict_equality = true
check_untyped_defs = true
disallow_subclassing_any = true
disallow_untyped_decorators = true
disallow_untyped_calls = true
no_implicit_reexport = true
extra_checks = true