-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
104 lines (89 loc) · 2.16 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
[coverage:run]
branch = True
source =
src
tests
[coverage:report]
show_missing = True
# The total coverage is higher, but when running tests without extras,
# not all code is being tested, thus the coverage is lower.
fail_under = 60
exclude_lines =
@abc.abstractmethod
@abc.abstractproperty
pragma: no cover
[flake8]
; E203 -- ignore whitespace in slices. See https://github.com/ambv/black#slices
; W503 line break before binary operator
; C901 '***' is too complex (10)
ignore = E203,W503
max-complexity = 13
max-line-length = 90
per-file-ignores =
src/afancontrol/config.py:C901
[isort]
multi_line_output = 3
profile = black
[metadata]
author = Kostya Esmukov
author_email = [email protected]
classifier =
Development Status :: 5 - Production/Stable
Intended Audience :: System Administrators
License :: OSI Approved :: MIT License
Natural Language :: English
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Topic :: System :: Hardware
Topic :: System :: Monitoring
Topic :: System :: Systems Administration
description = Advanced fancontrol daemon
long_description = file: README.rst
name = afancontrol
url = https://github.com/KostyaEsmukov/afancontrol
[mypy]
check_untyped_defs = True
[mypy-prometheus_client.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-serial.*]
ignore_missing_imports = True
[options]
include_package_data = True
install_requires =
click>=6
package_dir =
= src
packages = find:
python_requires = >=3.7
[options.entry_points]
console_scripts =
afancontrol = afancontrol.__main__:main
[options.extras_require]
arduino =
pyserial>=3.0
metrics =
prometheus-client>=0.1.0
dev =
black==22.10.0
coverage==6.5.0
flake8==5.0.4
isort==5.10.1
mypy==0.990
pytest==7.2.0
sphinx==4.3.2
vcrpy==4.2.1
requests
types-requests
[options.packages.find]
where = src
[tool:pytest]
log_level = INFO
; Show warnings. Similar to `python -Wd`.
filterwarnings = d
; Show skip reasons
; Print shorter tracebacks
addopts = -ra --tb=short