forked from albertodonato/prometheus-aioexporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
109 lines (93 loc) · 2.24 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
99
100
101
102
103
104
105
106
107
108
109
[metadata]
name = prometheus-aioexporter
version = 1.6.2
license = LGPLv3+
description = Asyncio library for creating Prometheus exporters
long_description = file: README.rst
author = Alberto Donato
author_email = [email protected]
maintainer = Alberto Donato
maintainer_email = [email protected]
url = https://github.com/albertodonato/prometheus-aioexporter
keywords = prometheus, exporter, library
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: System Administrators
License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Programming Language :: Python :: 3
Topic :: Utilities
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
[options]
python_requires = >= 3.6
install_requires =
aiohttp >= 3.0.0
prometheus-client >= 0.4.0
toolrack >= 2.1.0
packages = find:
include_package_data = True
[options.packages.find]
include =
prometheus_aioexporter
prometheus_aioexporter.*
[options.extras_require]
testing =
pytest
pytest-aiohttp
pytest-mock
[options.entry_points]
console_scripts =
[globals]
lint_files = setup.py prometheus_aioexporter
[coverage:run]
source = prometheus_aioexporter
[coverage:report]
show_missing = True
fail_under = 100.0
skip_covered = True
[flake8]
max-line-length = 80
select = C, E, F, W, B, B950
ignore = E203, E501, W503
[mypy]
incremental = False
warn_return_any = True
warn_unused_configs = True
ignore_missing_imports = True
[tox]
skipsdist = True
[testenv]
deps =
.
.[testing]
commands =
{envbindir}/pytest {posargs}
[testenv:format]
deps =
black
isort
commands =
{envbindir}/isort --recursive {[globals]lint_files}
{envbindir}/black -q {[globals]lint_files}
[testenv:lint]
deps =
black
flake8
isort
commands =
{envbindir}/isort --check-only --diff --recursive {[globals]lint_files}
{envbindir}/black --check {[globals]lint_files}
{envbindir}/flake8 {[globals]lint_files}
[testenv:check]
deps =
mypy
commands =
{envbindir}/mypy -p prometheus_aioexporter {posargs}
[testenv:coverage]
deps =
.
.[testing]
pytest-cov
commands =
{envbindir}/pytest --cov {posargs}