-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.cfg
85 lines (74 loc) · 1.84 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
[metadata]
name = flexlay
version = 0.2.0
description = "A Generic 2D Game Editor"
long_description = file: README.md
license = GPLv3+
author = "Ingo Ruhnke"
author_email = "[email protected]"
url = http://github.com/flexlay/flexlay
[options]
packages = find:
[options.entry_points]
gui_scripts =
supertux-editor = supertux.supertux:main
supertux-texteditor = supertux.text_editor.cmd_supertux_textedit:main
[flake8]
max-line-length = 120
[mypy]
plugins = numpy.typing.mypy_plugin
strict = True
check_untyped_defs = True
disallow_untyped_defs = True
warn_return_any = True
warn_unreachable = True
warn_unused_configs = True
warn_unused_ignores = False
# must be False, see https://github.com/python/mypy/issues/10757
disallow_untyped_calls = False
# triggered by QObject
disallow_subclassing_any = False
# Can't use this due to mypy/pyright having different ideas about cast()
warn_redundant_casts = False
[mypy-flexlay.wip.*]
ignore_errors = True
[pylint]
extension-pkg-whitelist = PyQt5
disable =
broad-except,
consider-using-f-string,
consider-using-in,
duplicate-code,
fixme,
import-outside-toplevel,
invalid-name,
logging-format-interpolation,
logging-fstring-interpolation,
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
no-else-return,
no-self-use,
protected-access,
superfluous-parens,
too-few-public-methods,
too-many-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-locals,
too-many-public-methods,
too-many-return-statements,
too-many-statements,
unnecessary-lambda,
unspecified-encoding,
unused-argument,
unused-variable,
using-constant-test,
too-many-nested-blocks,
use-implicit-booleaness-not-comparison,
consider-using-from-import,
useless-super-delegation,
consider-iterating-dictionary,
[pylint.FORMAT]
max-line-length = 120
# EOF #