]> arthur.barton.de Git - bup.git/commitdiff
pylint: enable syntax-error
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 28 Nov 2021 20:03:01 +0000 (21:03 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 5 Dec 2021 20:26:53 +0000 (14:26 -0600)
This could be useful to catch issues early, and only the
py2raise module has errors now, so ignore it.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
.pylintrc

index f9e3dfb32bb574da09605a83f1967d24ca67c9f2..c7b5933fd3e3afb2f95e999bac150d2bbffbde53 100644 (file)
--- a/.pylintrc
+++ b/.pylintrc
@@ -1,8 +1,11 @@
 # -*-conf-*-
+[GENERAL OPTIONS]
+ignore=py2raise.py
 
 [MESSAGES CONTROL]
 disable=all
 enable=
+  syntax-error,
   catching-non-exception,
   consider-using-in,
   inconsistent-return-statements,