Thomas Waldmann  committed 9f241b5

fix pep8 settings, so it keeps quiet with the current pytest-pep8 that does not recognize the pep8maxlinelength setting

  • Participants
  • Parent commits bb2f526
  • Branches default

Comments (0)

Files changed (1)

 directory = MoinMoin/translations/
-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/ E501  # maximum line length (long lines expected there)
  MoinMoin/util/_tests/ E241 # whitespace around comma (we have some "tabular" formatting there)