|
| 1 | +[metadata] |
| 2 | +name = flexlay |
| 3 | +version = 0.2.0 |
| 4 | +description = "A Generic 2D Game Editor" |
| 5 | +long_description = file: README.md |
| 6 | +license = GPLv3+ |
| 7 | +author = "Ingo Ruhnke" |
| 8 | +author_email = "[email protected]" |
| 9 | +url = http://github.com/flexlay/flexlay |
| 10 | + |
| 11 | +[options] |
| 12 | +packages = find: |
| 13 | + |
| 14 | +[options.entry_points] |
| 15 | +gui_scripts = |
| 16 | + supertux-editor = supertux.supertux:main |
| 17 | + supertux-texteditor = supertux.text_editor.cmd_supertux_textedit:main |
| 18 | + |
| 19 | +[flake8] |
| 20 | +max-line-length = 120 |
| 21 | + |
| 22 | +[mypy] |
| 23 | +strict = True |
| 24 | +check_untyped_defs = True |
| 25 | +disallow_untyped_defs = True |
| 26 | +warn_return_any = True |
| 27 | +warn_unreachable = True |
| 28 | +warn_unused_configs = True |
| 29 | +ignore_missing_imports = True |
| 30 | + |
| 31 | +# must be False, see https://github.com/python/mypy/issues/10757 |
| 32 | +disallow_untyped_calls = False |
| 33 | + |
| 34 | +# triggered by QObject |
| 35 | +disallow_subclassing_any = False |
| 36 | + |
| 37 | +# Can't use this due to mypy/pyright having different ideas about cast() |
| 38 | +warn_redundant_casts = False |
| 39 | + |
| 40 | +[mypy-flexlay.*] |
| 41 | +ignore_missing_imports = False |
| 42 | + |
| 43 | +[mypy-supertux.*] |
| 44 | +ignore_missing_imports = False |
| 45 | + |
| 46 | +[mypy-tests.*] |
| 47 | +ignore_missing_imports = False |
| 48 | + |
| 49 | +[pylint] |
| 50 | +extension-pkg-whitelist = PyQt5 |
| 51 | +disable = |
| 52 | + broad-except, |
| 53 | + consider-using-f-string, |
| 54 | + consider-using-in, |
| 55 | + duplicate-code, |
| 56 | + fixme, |
| 57 | + import-outside-toplevel, |
| 58 | + invalid-name, |
| 59 | + logging-format-interpolation, |
| 60 | + logging-fstring-interpolation, |
| 61 | + missing-class-docstring, |
| 62 | + missing-function-docstring, |
| 63 | + missing-module-docstring, |
| 64 | + no-else-return, |
| 65 | + no-self-use, |
| 66 | + protected-access, |
| 67 | + superfluous-parens, |
| 68 | + too-few-public-methods, |
| 69 | + too-many-arguments, |
| 70 | + too-many-branches, |
| 71 | + too-many-instance-attributes, |
| 72 | + too-many-locals, |
| 73 | + too-many-public-methods, |
| 74 | + too-many-return-statements, |
| 75 | + too-many-statements, |
| 76 | + unnecessary-lambda, |
| 77 | + unspecified-encoding, |
| 78 | + unused-argument, |
| 79 | + unused-variable, |
| 80 | + using-constant-test, |
| 81 | + too-many-nested-blocks, |
| 82 | + use-implicit-booleaness-not-comparison, |
| 83 | + consider-using-from-import, |
| 84 | + useless-super-delegation, |
| 85 | + consider-iterating-dictionary, |
| 86 | + |
| 87 | +[pylint.FORMAT] |
| 88 | +max-line-length = 120 |
| 89 | + |
| 90 | +# EOF # |
0 commit comments