1+ [build-system ]
2+ requires = [" setuptools~=62.3" , " wheel~=0.37.1" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " plugwise"
7+ version = " 0.27.0"
8+ license = {file = " LICENSE" }
9+ description = " Plugwise Smile (Adam/Anna/P1), Stretch and USB (Stick) module for Python 3."
10+ readme = " README.md"
11+ keywords = [" home" , " automation" , " plugwise" , " module" ]
12+ classifiers = [
13+ " Development Status :: 5 - Production/Stable" ,
14+ " Intended Audience :: Developers" ,
15+ " License :: OSI Approved :: MIT License" ,
16+ " Operating System :: OS Independent" ,
17+ " Programming Language :: Python :: 3.9" ,
18+ " Programming Language :: Python :: 3.10" ,
19+ " Topic :: Home Automation" ,
20+ ]
21+ authors = [
22+ { name = " Plugwise device owners" }
23+ ]
24+ maintainers = [
25+ { name = " bouwew" },
26+ { name = " brefra" },
27+ { name = " CoMPaTech" }
28+ ]
29+ requires-python = " >=3.9.0"
30+ dependencies = [
31+ " aiohttp" ,
32+ " async_timeout" ,
33+ " crcmod" ,
34+ " defusedxml" ,
35+ " munch" ,
36+ " pyserial" ,
37+ " python-dateutil" ,
38+ " semver" ,
39+ ]
40+
41+ [project .urls ]
42+ "Source Code" = " https://github.com/plugwise/python-plugwise"
43+ "Bug Reports" = " https://github.com/plugwise/python-plugwise/issues"
44+
45+ [tool .setuptools ]
46+ platforms = [" any" ]
47+ include-package-data = true
48+
49+ [tool .setuptools .packages .find ]
50+ include = [" plugwise*" ]
51+
152[tool .black ]
253target-version = [" py39" , " py310" ]
354exclude = ' generated'
@@ -121,6 +172,12 @@ overgeneral-exceptions = [
121172]
122173
123174[tool .pytest .ini_options ]
175+ asyncio_mode = " strict"
176+ markers = [
177+ # mark a test as a asynchronous io test.
178+ " asyncio" ,
179+ ]
180+
124181testpaths = [
125182 " tests" ,
126183]
@@ -130,7 +187,7 @@ norecursedirs = [
130187]
131188
132189[tool .mypy ]
133- python_version = 3.9
190+ python_version = 3.10
134191show_error_codes = true
135192follow_imports = " silent"
136193ignore_missing_imports = true
@@ -157,3 +214,17 @@ exclude = [
157214 " messages" ,
158215 " connections" ,
159216]
217+
218+ [tool .coverage .run ]
219+ source = [ " plugwise" ]
220+ omit = [
221+ " */venv/*" ,
222+ " setup.py" ,
223+ " plugwise/connections/*" ,
224+ " plugwise/controller.py" ,
225+ " plugwise/messages/*" ,
226+ " plugwise/nodes/*" ,
227+ " plugwise/parser.py" ,
228+ " plugwise/stick.py" ,
229+ " plugwise/util.py" ,
230+ ]
0 commit comments