-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
99 lines (84 loc) · 2.19 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools", "wheel", "setuptools-scm",]
[project]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Topic :: Database",
"Topic :: Home Automation",
]
dependencies = [
"moat-kv ~= 0.70.2",
"netifaces",
]
dynamic = [ "version",]
keywords = [ "MoaT",]
requires-python = ">=3.8"
name = "moat-kv-knx"
description = "1wire connector for MoaT-KV"
readme = "README.rst"
[[project.authors]]
email = "[email protected]"
name = "Matthias Urlichs"
[project.license]
file = "LICENSE"
[project.urls]
homepage = "https://m-o-a-t.org"
repository = "https://github.com/M-o-a-T/moat-kv-knx"
[tool.flake8]
max-line-length = 99
ignore = [ "F841", "F401", "E731", "E502", "E402", "E127", "E123", "W503", "E231", "E203", "E501" ]
[tool.isort]
line_length = 99
multi_line_output = 3
profile = "black"
[tool.setuptools]
packages = [ "moat.kv.knx",]
[tool.setuptools.package-data]
"*" = ["*.yaml"]
[tool.setuptools_scm]
[tool.black]
line-length = 99
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py310,check
[testenv]
setenv =
PYTHONPATH = {env:PYTHONPATH}{:}{toxinidir}
deps =
anyio
asyncwebsockets
asyncclick
asyncscope
trio
pytest
commands =
python3 -mpytest tests/
[testenv:check]
commands =
pylint moat tests
flake8p moat tests
black --check moat tests
deps =
pytest
pylint
black
flake8-pyproject
flake8
"""
[tool.pytest]
filterwarnings = [
"error",
"ignore:unclosed:ResourceWarning",
]
addopts = "--verbose"
[tool.pylint]
[tool.pylint.messages_control]
disable = "wrong-import-order,ungrouped-imports,too-many-nested-blocks,use-dict-literal,unspecified-encoding,too-many-statements,too-many-return-statements,too-many-locals,too-many-instance-attributes,too-many-branches,too-many-arguments,too-few-public-methods,superfluous-parens,no-else-return,no-else-continue,invalid-name,fixme"
[tool.moat]