From 24d939ce41bce47df1e91f8d333b9bd42a6de865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 7 Apr 2019 23:34:43 +0200 Subject: [PATCH] Disable some pylint checks Gtk Objects like a TreeModel is not detected correctly - E0611 no-name-in-module - E1133 not-an-iterable - E1136 unsubscriptable-object --- scripts/dev/pylint-ci.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/dev/pylint-ci.sh b/scripts/dev/pylint-ci.sh index 2b2cd6239..be2f1b8fd 100755 --- a/scripts/dev/pylint-ci.sh +++ b/scripts/dev/pylint-ci.sh @@ -1,14 +1,17 @@ #!/bin/sh PYLINT=${PYLINT:-pylint} -"$PYLINT" --disable=C0103,C0302,C0301,C0330,E0401,E1101,R0201,R0901,R0904,R0912,R0913,R0914,R0915,R0916,R1702,R1710,W0201,W0212,W0221,W0223,W0231,W0233,W0603,W0613 "$@" +"$PYLINT" --disable=C0103,C0302,C0301,C0330,E0401,E0611,E1101,E1133,E1136,R0201,R0901,R0904,R0912,R0913,R0914,R0915,R0916,R1702,R1710,W0201,W0212,W0221,W0223,W0231,W0233,W0603,W0613 "$@" # C0103 invalid-name # C0301 line-too-long # C0302 too-many-lines # C0330 bad-continuation # E0401 import-error +# E0611 no-name-in-module # E1101 no-member +# E1133 not-an-iterable +# E1136 unsubscriptable-object # R0201 no-self-use # R0901 too-many-ancestors # R0904 too-many-public-methods