forked from moinwiki/moin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
72 lines (62 loc) · 2.39 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
# Copyright: 2001 by Juergen Hermann <[email protected]>
# Copyright: 2011 MoinMoin:ThomasWaldmann
# License: GNU GPL v2 (or any later version), see LICENSE.txt for details.
# MoinMoin - Distutils config
[bdist_rpm]
release=1
doc_files=
README.txt
LICENSE.txt
PKG-INFO
docs/
requires=python
build_requires=python
[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1
[upload_sphinx]
upload-dir = docs/_build/html
[extract_messages]
input_paths = src/
output_file = src/moin/translations/MoinMoin.pot
keywords = _ gettext L_ lazy_gettext N_ ngettext
msgid_bugs_address = English <[email protected]>
copyright_holder = Moin Core Team, see http://moinmo.in/MoinCoreTeamGroup
[init_catalog]
input_file = src/moin/translations/MoinMoin.pot
output_dir = src/moin/translations/
[update_catalog]
input_file = src/moin/translations/MoinMoin.pot
output_dir = src/moin/translations/
[compile_catalog]
directory = src/moin/translations/
[tool:pytest]
norecursedirs = .git _build tmp* env* dlc wiki support
minversion = 2.0
[flake8]
# please note that the values are adjusted so that they do not cause failures
# with existing code. if you want to change them, you should first fix all
# flake8 failures that appear with your change.
ignore =
E122, # continuation line missing indentation or outdented
E124, # closing bracket does not match visual indentation
E125, # continuation line with same indent as next logical line
E128, # continuation line under-indented for visual indent
E226, # missing whitespace around arithmetic operator
E501, # line too long
F401, # 'name' imported but unused
F405, # 'name' may be undefined, or defined from star imports
F841, # local variable is assigned to but never used
F901, # 'raise NotImplemented' should be 'raise NotImplementedError'
W504, # line break after binary operator
# line length long term target: 120
max-line-length = 255
exclude =
build, dist, .git, .idea, .cache, .tox, .eggs,
docs/conf.py, # sphinx stuff, automatically generated, don't check this
src/moin/config/default.py, # some formatting issues expected there
src/moin/constants/chartypes.py, # auto-generated, long lines
src/moin/scripts/migration/moin19/_logfile19.py, # legacy code "as is"
src/moin/scripts/migration/moin19/_utils19.py, # legacy code "as is"
src/moin/utils/SubProcess.py, # 3rd party stuff, patched stdlib code