forked from pygame/pygame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
73 lines (67 loc) · 1.79 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
[tox:tox]
envlist = py{36,37,38,39,310,311,312}
skip_missing_interpreters = True
skipsdist = True
[testenv]
deps =
numpy
setenv =
SDL_AUDIODRIVER=disk
SDL_VIDEODRIVER=dummy
passenv =
PORTMIDI_INC_PORTTIME
commands =
python -m buildconfig -auto
pip install .
python -m pygame.tests
[options.entry_points]
pyinstaller40 =
hook-dirs = pygame.__pyinstaller:get_hook_dirs
# ignore-words-list is a comma-separated list of lowercase words to be
# ignored by codespell. Typos should be fixed but for instance Mechanim
# is the name of a software product so we want codespell to ignore that.
[codespell]
skip = ./docs/es/*,./src_c/*,setup.py,*.json
ignore-words-list = ags,ans,appen,datas,fo,likey,mechanim,nd,nin,nnumber,paeth,pevents,rocess,statics,testin
quiet-level = 35
[isort]
include_trailing_comma = True
known_first_party = pygame
known_third_party = numpy, distutils, setuptools, sphinx
line_length = 88
multi_line_output = 3
src_paths = src_py
[pylint.MESSAGES CONTROL]
extension-pkg-whitelist=pygame
enable=
use-symbolic-message-instead,
disable=
attribute-defined-outside-init,
broad-except,
duplicate-code,
empty-docstring,
fixme,
global-statement,
global-variable-undefined,
import-error,
import-outside-toplevel,
invalid-name,
missing-docstring,
no-member,
protected-access,
raise-missing-from,
redefined-builtin,
redefined-outer-name,
super-with-arguments,
too-few-public-methods,
too-many-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-lines,
too-many-locals,
undefined-all-variable,
undefined-variable,
unused-import, # False positive because there are no __all__ sometime.
useless-object-inheritance,
wrong-import-order,
wrong-import-position,