-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
81 lines (73 loc) · 1.94 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
[tool.poetry]
authors = ["Justin Vanderhooft <justinvdhooft@gmail.com>"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Home Automation",
"Topic :: Software Development :: Libraries :: Python Modules"
]
description = "A small python library for discovery and interacting with Melnor, Eden, etc Bluetooth water timers."
keywords = [
"bluetooth",
"melnor",
"home automation",
"irrigation",
"gardening"
]
license = "MIT"
name = "melnor-bluetooth"
readme = "README.md"
version = "0.0.0"
[build-system]
requires = ["poetry-core>=1.5.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.black]
line-length = 88
target-version = ['py39', 'py310', 'py311']
include = '\.pyi?$'
extend-exclude = '''
/(
# Ignored files/directories
)/
'''
[tool.coverage.run]
relative_files = true
[tool.isort]
profile = "black"
[tool.poetry.dependencies]
python = "^3.9"
bleak = ">=0.15.1"
tzdata = ">=2022.1"
tzlocal = ">=4.1"
aioconsole = ">=0.4.1"
bleak-retry-connector = ">=1.11.0"
Deprecated = ">=1.2.13"
[tool.poetry.dev-dependencies]
pytest = "^7.1.3"
black = "^22.1.0"
pytest-cov = "^3.0.0"
isort = "^5.10.1"
pre-commit = "^2.17.0"
freezegun = "^1.2.1"
pytest-asyncio = "^0.19.0"
# pytest-mockito = "^0.0.4"
# mockito = "^1.3.0"
flake8 = "^4.0.1"
poetry-dynamic-versioning = "^0.18.0"
syrupy = "^4.0.2"
colored = "1.4.2" # for syrupy, and 1.4.3 and 1.4.4 fail to install on my machine
[tool.poetry-dynamic-versioning]
bump = false
enable = true
format-jinja = """
{%- if distance == 0 -%}
{{ serialize_pep440(base, stage, revision) }}
{%- elif revision is not none -%}
{{ serialize_pep440(base, stage, revision + 1, dev=distance) }}
{%- else -%}
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance) }}
{%- endif -%}
"""
[tool.pytest.ini_options]
asyncio_mode = 'auto'