-
Notifications
You must be signed in to change notification settings - Fork 129
/
setup.cfg
110 lines (98 loc) · 2.94 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
[metadata]
name = nicotine-plus
version = attr: pynicotine.__version__
license = GPLv3+
description = Graphical client for the Soulseek peer-to-peer network
long_description =
Nicotine+ is a graphical client for the Soulseek peer-to-peer
network.
Nicotine+ aims to be a lightweight, pleasant, free and open
source (FOSS) alternative to the official Soulseek client, while
also providing a comprehensive set of features.
author = Nicotine+ Team
author_email = nicotine-team@lists.launchpad.net
url = https://nicotine-plus.org
classifiers =
Development Status :: 5 - Production/Stable
Environment :: X11 Applications :: GTK
Intended Audience :: End Users/Desktop
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Operating System :: OS Independent
Programming Language :: Python
Topic :: Communications :: Chat
Topic :: Communications :: File Sharing
Topic :: Internet
Topic :: System :: Networking
[options]
scripts = nicotine
packages = find:
python_requires = >=3.6
install_requires = PyGObject>=3.22
[options.packages.find]
include = pynicotine*
exclude = pynicotine.plugins.examplars*, pynicotine.tests*
[options.package_data]
* = **/*.css, **/*.mo, **/nplus-*.svg, **/*.ui, *.bin, PLUGININFO
[options.extras_require]
packaging = cx_Freeze
tests = pycodestyle; pylint
[pycodestyle]
max-line-length = 120
exclude = build/, pynicotine/external/data/, venv/
[pylint]
disable =
bad-option-value,
bad-plugin-value,
broad-except,
cyclic-import,
duplicate-code,
fixme,
import-outside-toplevel,
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
no-self-use,
no-value-for-parameter,
superfluous-parens
enable =
consider-using-augmented-assign,
use-implicit-booleaness-not-comparison-to-string,
use-implicit-booleaness-not-comparison-to-zero
ignore = tinytag.py
ignore-paths = build, pynicotine/external/data, pynicotine/locale, venv
load-plugins =
pylint.extensions.bad_builtin,
pylint.extensions.check_elif,
pylint.extensions.code_style,
pylint.extensions.comparetozero,
pylint.extensions.comparison_placement,
pylint.extensions.consider_refactoring_into_while_condition,
pylint.extensions.emptystring,
pylint.extensions.for_any_all,
pylint.extensions.dict_init_mutate,
pylint.extensions.dunder,
pylint.extensions.eq_without_hash,
pylint.extensions.overlapping_exceptions,
pylint.extensions.private_import,
pylint.extensions.set_membership,
pylint.extensions.typing
py-version = 3.6
[pylint.design]
max-args = 18
max-attributes = 125
max-bool-expr = 6
max-branches = 35
max-locals = 35
max-public-methods = 85
max-returns = 12
max-statements = 125
min-public-methods = 0
[pylint.format]
max-line-length = 120
max-module-lines = 4200
[pylint.refactoring]
max-nested-blocks = 6
[pylint.similarities]
min-similarity-lines = 15
[pylint.variables]
additional-builtins = _