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
This commit is contained in:
Philipp Hörist 2019-04-07 23:34:43 +02:00
parent 3808c85cbd
commit 24d939ce41
1 changed files with 4 additions and 1 deletions

View File

@ -1,14 +1,17 @@
#!/bin/sh #!/bin/sh
PYLINT=${PYLINT:-pylint} 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 # C0103 invalid-name
# C0301 line-too-long # C0301 line-too-long
# C0302 too-many-lines # C0302 too-many-lines
# C0330 bad-continuation # C0330 bad-continuation
# E0401 import-error # E0401 import-error
# E0611 no-name-in-module
# E1101 no-member # E1101 no-member
# E1133 not-an-iterable
# E1136 unsubscriptable-object
# R0201 no-self-use # R0201 no-self-use
# R0901 too-many-ancestors # R0901 too-many-ancestors
# R0904 too-many-public-methods # R0904 too-many-public-methods