changeset 1976:889e1e62e551

more strict pep8 checker config
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 11 Feb 2013 04:50:26 +0100
parents 384555088cab
children 1872846ed840
files setup.cfg
diffstat 1 files changed, 14 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/setup.cfg	Mon Feb 11 04:49:04 2013 +0100
+++ b/setup.cfg	Mon Feb 11 04:50:26 2013 +0100
@@ -40,19 +40,23 @@
 directory = MoinMoin/translations/
 
 [pytest]
+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 E225  # missing whitespace around operator
- *.py E226  # missing optional whitespace around operator
- *.py E261  # less than 2 blanks before inline comment
- *.py E301 E302  # separate toplevel definitions with 2 empty lines, method defs inside class by 1 empty line
- *.py E401  # imports on separate lines
- *.py E501  # maximum line length (default 79 chars)
+ */_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
+ */_tests/*.py E501  # maximum line length
+ wikiconfig_*.py ALL  # local stuff, not in the repo
+ MoinMoin/config/default.py E501  # maximum line length (long lines expected there)
+ MoinMoin/util/_tests/test_paramparser.py E241 # whitespace around comma (we have some "tabular" formatting there)
+ MoinMoin/constants/chartypes.py E501  # auto-generated, long lines
+ MoinMoin/script/migration/moin19/_logfile19.py ALL  # legacy code "as is"
+ MoinMoin/script/migration/moin19/_utils19.py ALL  # legacy code "as is"
+ docs/conf.py ALL  # sphinx stuff, automatically generated, don't check this
  upload.py ALL  # 3rd party (and not in the repo): rietveld upload tool
- wikiconfig_*.py ALL  # local stuff, not in the repo
- docs/conf.py ALL  # sphinx stuff, automatically generated, don't check this
- MoinMoin/util/md5crypt.py ALL  # 3rd party stuff, don't check this
- MoinMoin/util/_tests/test_paramparser.py E241 # whitespace around comma (we have some "tabular" formatting there)
+ MoinMoin/util/SubProcess.py ALL  # 3rd party stuff, patched stdlib code