forked from rytilahti/python-miio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (93 loc) · 2.33 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[tool.poetry]
name = "python-miio"
version = "0.5.8"
description = "Python library for interfacing with Xiaomi smart appliances"
authors = ["Teemu R <[email protected]>"]
repository = "https://github.com/rytilahti/python-miio"
documentation = "https://python-miio.readthedocs.io"
license = "GPL-3.0-only"
readme = "README.rst"
packages = [
{ include = "miio" }
]
keywords = ["xiaomi", "miio", "miot", "smart home"]
[tool.poetry.scripts]
mirobo = "miio.integrations.roborock.vacuum_cli:cli"
miio-extract-tokens = "miio.extract_tokens:main"
miiocli = "miio.cli:create_cli"
[tool.poetry.dependencies]
python = "^3.6.5"
click = "^7"
cryptography = "^3"
construct = "^2.10.56"
zeroconf = "^0"
attrs = "*"
pytz = "*"
appdirs = "^1"
tqdm = "^4"
netifaces = { version = "^0", optional = true }
android_backup = { version = "^0", optional = true }
importlib_metadata = { version = "^1", markers = "python_version <= '3.7'" }
croniter = "^0"
defusedxml = "^0"
sphinx = { version = "^3", optional = true }
sphinx_click = { version = "^2", optional = true }
sphinxcontrib-apidoc = { version = "^0", optional = true }
sphinx_rtd_theme = { version = "^0", optional = true }
PyYAML = ">=5,<7"
[tool.poetry.extras]
docs = ["sphinx", "sphinx_click", "sphinxcontrib-apidoc", "sphinx_rtd_theme"]
[tool.poetry.dev-dependencies]
pytest = "^5"
pytest-cov = "^2"
pytest-mock = "^3"
voluptuous = "^0"
pre-commit = "^2"
doc8 = "^0"
restructuredtext_lint = "^1"
tox = "^3"
isort = "^4"
cffi = "^1"
docformatter = "^1"
mypy = {version = "^0", markers = "platform_python_implementation == 'CPython'"}
coverage = {extras = ["toml"], version = "^6"}
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
forced_separate = "miio.discover"
known_first_party = "miio"
known_third_party = ["appdirs",
"attr",
"click",
"construct",
"croniter",
"cryptography",
"netifaces",
"pytest",
"pytz",
"setuptools",
"tqdm",
"zeroconf"
]
[tool.coverage.run]
source = ["miio"]
branch = true
omit = ["miio/*cli.py",
"miio/extract_tokens.py",
"miio/tests/*",
"miio/version.py"
]
[tool.coverage.report]
exclude_lines = [
# ignore abstract methods
"raise NotImplementedError",
"def __repr__"
]
[tool.check-manifest]
ignore = ["devtools/*"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"