summary refs log tree commit diff
path: root/setup.cfg
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-11-03 12:58:57 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-11-03 12:58:57 +0000
commit71a452a324e45c338c6d91e6b17b92712157367c (patch)
tree2f95a26c9c8ff024c855ed7a8ca674e833dddca8 /setup.cfg
parentmore comment (diff)
parentfix tests (diff)
downloadsynapse-71a452a324e45c338c6d91e6b17b92712157367c.tar.xz
Merge branch 'dinsic' into matthew/shadow-server
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg16
1 files changed, 8 insertions, 8 deletions
diff --git a/setup.cfg b/setup.cfg
index c2620be6c5..b6b4aa740d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -14,17 +14,17 @@ ignore =
     pylint.cfg
     tox.ini
 
-[pep8]
-max-line-length = 90
-#  W503 requires that binary operators be at the end, not start, of lines. Erik
-#  doesn't like it.  E203 is contrary to PEP8.
-ignore = W503,E203
-
 [flake8]
-# note that flake8 inherits the "ignore" settings from "pep8" (because it uses
-# pep8 to do those checks), but not the "max-line-length" setting
 max-line-length = 90
 
+# see https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
+# for error codes. The ones we ignore are:
+#  W503: line break before binary operator
+#  W504: line break after binary operator
+#  E203: whitespace before ':' (which is contrary to pep8?)
+#  E731: do not assign a lambda expression, use a def
+ignore=W503,W504,E203,E731
+
 [isort]
 line_length = 89
 not_skip = __init__.py