Commits

Thomas Waldmann committed 889e1e6

more strict pep8 checker config

Comments (0)

Files changed (1)

 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