forked from mopidy/mopidy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
147 lines (125 loc) · 3.1 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
[metadata]
name = Mopidy
version = 3.3.0
url = https://mopidy.com/
project_urls =
Documentation = https://docs.mopidy.com/
Discourse forum = https://discourse.mopidy.com/
Zulip chat = https://mopidy.zulipchat.com/
Source = https://github.com/mopidy/mopidy
Issues = https://github.com/mopidy/mopidy/issues
author = Stein Magnus Jodal
author_email = [email protected]
license = Apache License, Version 2.0
license_file = LICENSE
description = Mopidy is an extensible music server written in Python
long_description = file: README.rst
classifiers =
Development Status :: 5 - Production/Stable
Environment :: No Input/Output (Daemon)
Intended Audience :: End Users/Desktop
License :: OSI Approved :: Apache Software License
Operating System :: MacOS :: MacOS X
Operating System :: POSIX :: Linux
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Multimedia :: Sound/Audio :: Players
[options]
zip_safe = False
include_package_data = True
packages = find:
python_requires = >= 3.7
install_requires =
Pykka >= 2.0.1
requests >= 2.0
setuptools
tornado >= 4.4
[options.extras_require]
docs =
pygraphviz
sphinx
sphinx_rtd_theme
lint =
black
check-manifest
flake8
flake8-black
flake8-bugbear
flake8-isort
isort
mypy
pep8-naming
types-requests
types-setuptools
test =
pytest
pytest-cov
responses
dev =
%(docs)s
%(lint)s
%(test)s
tox
[options.packages.find]
exclude =
tests
tests.*
[options.entry_points]
console_scripts =
mopidy = mopidy.__main__:main
mopidy.ext =
http = mopidy.http:Extension
file = mopidy.file:Extension
m3u = mopidy.m3u:Extension
softwaremixer = mopidy.softwaremixer:Extension
stream = mopidy.stream:Extension
[tool:pytest]
filterwarnings =
error::DeprecationWarning:mopidy[.*]
ignore::PendingDeprecationWarning:mopidy[.*]
ignore::DeprecationWarning:mopidy[.*]
[flake8]
application-import-names = mopidy, tests
max-line-length = 80
exclude = .git, .tox, build
select =
# Regular flake8 rules
C, E, F, W
# flake8-bugbear rules
B
# B950: line too long (soft speed limit)
B950
# flake8-isort
I
# pep8-naming rules
N
ignore =
# E203: whitespace before ':' (not PEP8 compliant)
E203
# E501: line too long (replaced by B950)
E501
# W503: line break before binary operator (not PEP8 compliant)
W503
# B305: .next() is not a thing on Python 3 (used by playback controller)
B305
[mypy]
warn_unused_configs = True
[mypy-dbus.*]
ignore_missing_imports = True
[mypy-gi.*]
ignore_missing_imports = True
[mypy-pykka.*]
ignore_missing_imports = True
[mypy-mopidy.backend.*]
disallow_untyped_defs = True
[mypy-mopidy.ext.*]
disallow_untyped_defs = True
[mypy-mopidy.internal.log.*]
disallow_untyped_defs = True
[mypy-mopidy.internal.network.*]
disallow_untyped_defs = True
[mypy-mopidy.mixer.*]
disallow_untyped_defs = True