-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
98 lines (87 loc) · 1.73 KB
/
setup.cfg
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
[metadata]
name = metricq_source_modbus
version = file: .version
author = TU Dresden
description = A modbus source for MetricQ
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/metricq/metricq-source-modbus
license = BSD 3-clause "New" or "Revised License"
license_file = LICENSE
classifiers =
License :: OSI Approved :: BSD License
Programming Language :: Python :: 3
[options]
packages =
metricq_source_bacpypes
python_requires = >=3.10
install_requires =
metricq ~= 5.2
bacpypes3
python-hostlist
pydantic
click
click-completion
click_log
[options.package_data]
metricq_source_bacpypes = py.typed
[options.entry_points]
console_scripts =
metricq-source-bacpypes=metricq_source_bacpypes:run
[options.extras_require]
test =
pytest
lint =
black ~= 23.1.0
flake8
isort ~= 5.0
typing =
mypy >= 1.3.0
mypy-protobuf
%(test)s
dev =
%(test)s
%(lint)s
%(typing)s
tox
[flake8]
extend-exclude =
build,
.venv,
venv
show-source = True
statistics = True
select =
# Regular flake8 rules
C, E, F, W
# pep8-naming rules
N
ignore =
# E203: whitespace before ':' (not PEP8 compliant)
E203
# E501: line too long (black does that)
E501
# W503: line break before binary operator (not PEP8 compliant)
W503
[tox:tox]
envlist =
pytest
black
isort
mypy
flake8
[testenv:pytest]
deps = .[test]
commands = pytest
[testenv:black]
deps = .[lint]
commands = black --check .
[testenv:isort]
deps = .[lint]
commands = isort --diff --check .
[testenv:flake8]
deps = .[lint]
commands = flake8 .
[testenv:mypy]
deps = .[typing]
commands = mypy --strict metricq_source_bacpypes tests