-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.cfg
87 lines (77 loc) · 1.92 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
[metadata]
name = Mopidy-MPRIS
version = 3.0.3
url = https://github.com/mopidy/mopidy-mpris
author = Stein Magnus Jodal
author_email = [email protected]
license = Apache License, Version 2.0
license_file = LICENSE
description = Mopidy extension for controlling Mopidy through the MPRIS D-Bus interface
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 :: POSIX :: Linux
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Multimedia :: Sound/Audio :: Players
[options]
zip_safe = False
include_package_data = True
packages = find:
python_requires = >= 3.9
install_requires =
Mopidy >= 3.0.0
Pykka >= 2.0.1
setuptools
pydbus >= 0.6.0
[options.extras_require]
lint =
black
check-manifest
flake8
flake8-black
flake8-bugbear
flake8-import-order
isort[pyproject]
test =
pytest
pytest-cov
dev =
%(lint)s
%(test)s
[options.packages.find]
exclude =
tests
tests.*
[options.entry_points]
mopidy.ext =
mpris = mopidy_mpris:Extension
[flake8]
application-import-names = mopidy_mpris, 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
# 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
# N802: function name should be lowercase
N802