diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2018-09-18 19:53:13 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2018-09-18 19:53:13 +0300 |
commit | 7fcd85f0266727556b474298abd84145bddcb912 (patch) | |
tree | 305d2bd3ef001a06e8784c7d4117ea63079b2a33 /scripts | |
parent | 422cd129916adf6ee826e3b793676a34a0f21761 (diff) |
Update pylint error list
- Check for W0631 undefined-loop-variable
- Check for W0640 cell-var-from-loop
- Check for W1401 anomalous-backslash-in-string
- Check for W1505 deprecated-method
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/dev/pre-push-tests.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/dev/pre-push-tests.sh b/scripts/dev/pre-push-tests.sh index 295562dee..ca3fa9201 100644 --- a/scripts/dev/pre-push-tests.sh +++ b/scripts/dev/pre-push-tests.sh @@ -1,5 +1,5 @@ mypy -p gajim.common.modules --follow-imports=skip -pylint --jobs=2 --disable=C0103,C0302,C0330,C0411,C0412,C0413,E0203,E0401,E0611,E0710,E0712,E1101,E1102,E1128,E1133,E1136,R0201,R0901,R0904,R0913,R0916,R1702,R1706,R1711,R1716,W0201,W0212,W0221,W0223,W0311,W0401,W0603,W0613,W0614,W0631,W0640,W1401,W1505 gajim +pylint --jobs=2 --disable=C0103,C0302,C0330,C0411,C0412,C0413,E0203,E0401,E0611,E0710,E0712,E1101,E1102,E1128,E1133,E1136,R0201,R0901,R0904,R0913,R0916,R1702,R1706,R1711,R1716,W0143,W0201,W0212,W0221,W0223,W0311,W0401,W0603,W0613,W0614 gajim # C0103 invalid-name # C0302 too-many-lines @@ -10,6 +10,7 @@ pylint --jobs=2 --disable=C0103,C0302,C0330,C0411,C0412,C0413,E0203,E0401,E0611, # E0203 access-member-before-definition # E0401 import-error # E0611 no-name-in-module -# E0710 raising-non-exception - GLIB -# E0712 catching-non-exception - GLIB -# R0201 no-self-use
\ No newline at end of file +# E0710 raising-non-exception - GLib.GError is not recognized +# E0712 catching-non-exception - GLib.GError is not recognized +# R0201 no-self-use +# W0143 comparison-with-callable - Dont add to Server CI, only available on pylint 2.0+
\ No newline at end of file |