changeset 1984:9f241b520200

fix pep8 settings, so it keeps quiet with the current pytest-pep8 that does not recognize the pep8maxlinelength setting
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 11 Feb 2013 20:49:56 +0100
parents bb2f526d961c
children 7d8907699829
files setup.cfg
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/setup.cfg	Mon Feb 11 18:48:03 2013 +0100
+++ b/setup.cfg	Mon Feb 11 20:49:56 2013 +0100
@@ -40,16 +40,18 @@
 directory = MoinMoin/translations/
 
 [pytest]
-pep8maxlinelength = 120
+# 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
- */_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)