moin-2.0 / setup.cfg

Full commit
# Copyright: 2001 by Juergen Hermann <>
# Copyright: 2011 MoinMoin:ThomasWaldmann
# License: GNU GPL v2 (or any later version), see LICENSE.txt for details.

# MoinMoin - Distutils config


source-dir = docs/
build-dir = docs/_build
all_files = 1

upload-dir = docs/_build/html

output_file = MoinMoin/translations/MoinMoin.pot
keywords = _ gettext L_ lazy_gettext N_ ngettext
msgid_bugs_address = English <>
copyright_holder = Moin Core Team, see

input_file = MoinMoin/translations/MoinMoin.pot
output_dir = MoinMoin/translations/

input_file = MoinMoin/translations/MoinMoin.pot
output_dir = MoinMoin/translations/

directory = MoinMoin/translations/

# Note: we need pytest-pep8 >= 1.0.4 to make pep8maxlinelength work, but that
# needs a pytest >= 2.3, so, we can't use that until our test work with that.
#pep8maxlinelength = 120
norecursedirs = .hg _build tmp* env* dlc wiki
minversion = 2.0
pep8ignore =
 *.py E121 E122 E123 E124 E125 E126 E127 E128  # continuation line indentation
 *.py E501  # maximum line length (see also pep8maxlinelength)
 */_tests/*.py E225 E226  # missing whitespace / missing optional whitespace around operator
 */_tests/*.py E261  # less than 2 blanks before inline comment
 */_tests/*.py E301 E302  # separate toplevel definitions with 2 empty lines, method defs inside class by 1 empty line
 */_tests/*.py E401  # imports on separate lines
 wikiconfig_*.py ALL  # local stuff, not in the repo
 MoinMoin/config/ E501  # maximum line length (long lines expected there)
 MoinMoin/util/_tests/ E241 # whitespace around comma (we have some "tabular" formatting there)
 MoinMoin/constants/ E501  # auto-generated, long lines
 MoinMoin/script/migration/moin19/ ALL  # legacy code "as is"
 MoinMoin/script/migration/moin19/ ALL  # legacy code "as is"
 docs/ ALL  # sphinx stuff, automatically generated, don't check this ALL  # 3rd party (and not in the repo): rietveld upload tool
 MoinMoin/util/ ALL  # 3rd party stuff, patched stdlib code