Commit Graph

63 Commits

Author SHA1 Message Date
Philipp Hörist 24d939ce41 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
2019-04-07 23:34:43 +02:00
Philipp Hörist 3808c85cbd Enable more pylint checks
- E0611 no-name-in-module
- E0710 raising-non-exception
- E0712 catching-non-exception
- E1133 not-an-iterable
- E1136 unsubscriptable-object
2019-04-07 23:07:59 +02:00
Philipp Hörist b54aba4d3e Fix access-member-before-definition pylint errors 2019-04-07 21:50:33 +02:00
Philipp Hörist b91b64997e Fix no-callable pylint errors 2019-04-07 21:47:00 +02:00
Philipp Hörist 33f62cecf9 Fix bad-indentation pylint errors 2019-04-07 21:44:42 +02:00
Philipp Hörist b8d70abdb0 Enable wildcard-import pylint check 2019-04-07 21:32:55 +02:00
Philipp Hörist 7ef066b181 Fix ungrouped-imports pylint errors 2019-04-07 21:29:45 +02:00
Philipp Hörist cf40a2a8ef Fix wrong-import-order pylint errors 2019-04-07 21:20:21 +02:00
Philipp Hörist 3b3c2af97b Fix wrong-import-position pylint errors 2019-04-07 21:15:39 +02:00
Philipp Hörist d55cb97dd2 Update pylintrc
- Ignore some pylint errors only in CI, not locally
- Set max line length to 80
2019-04-07 20:41:27 +02:00
Philipp Hörist f62f922733 Fix unused-wildcard-import pylint errors 2019-04-07 20:27:07 +02:00
Philipp Hörist 1c39d66d21 Fix assignment-from-none pylint errors 2019-04-07 20:13:55 +02:00
Philipp Hörist ee38f76004 Fix chained-comparison pylint errors 2019-04-07 19:50:15 +02:00
Philipp Hörist 20d3e981b9 Fix consider-using-ternary pylint errors 2019-04-07 19:48:09 +02:00
Philipp Hörist dc3910ce4c Fix useless-return pylint errors 2019-04-07 19:07:16 +02:00
Philipp Hörist 8ca9c1d6e3 Add description for some pylint errors 2019-04-07 19:04:21 +02:00
Marcin Mielniczuk 237abf742b Pylint CI improvements
* Move the pylint CI configuration to a separate script
* Update pylint in CI to 2.1.1
* Add pycurl to pylint whitelist
2018-10-03 07:58:54 +02:00
Philipp Hörist 0f730d1958 Update CI
- Run mypy on the full gajim folder
2018-09-21 23:56:56 +02:00
Philipp Hörist 46ed4757fd Update pre-push-tests.sh 2018-09-18 19:03:14 +02:00
Philipp Hörist 7fcd85f026 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
2018-09-18 18:53:13 +02:00
Philipp Hörist 803ff3de45 Update pylint error list
- Check for W0109 duplicate-key
- Check for W0123 eval-used
- Check for W0143 comparison-with-callable
2018-09-18 17:21:53 +02:00
Philipp Hörist 457faf3806 Update pylint error list
- Check for W0104 pointless-statement
- Check for W0105 pointless-string-statement
- Check for W0108 unnecessary-lambda
2018-09-18 16:46:20 +02:00
Philipp Hörist c2828231bd Update pylint error list
- Check for E0601 used-before-assignment
- Check for E0704 misplaced-bare-raise
- Check for W0101 unreachable
2018-09-18 16:32:31 +02:00
Philipp Hörist 8fad65ccbf Update pylint error list
- Check for C0113 unneeded-not
- Check for C0123 unidiomatic-typecheck
- Check for C0203 bad-mcs-method-argument
- Check for C0200 consider-using-enumerate
- Check for C0305 trailing-newlines
- Check for E0213 no-self-argument
2018-09-18 15:57:34 +02:00
Philipp Hörist 251dbae5d6 Update pylint error list
Specify from now on the errors that are disabled instead of enabled,
because we have now more checks enabled than disabled
2018-09-18 14:46:35 +02:00
Philipp Hörist 2512c2b484 Update pylint error list
- Check for R1714 consider-using-in
- Check for W0107 unnecessary-pass
- Check for W0235 useless-super-delegation
2018-09-18 14:14:26 +02:00
Philipp Hörist 376fff7871 Update pylint error list
- Check for W0622 redefined-builtin
- Check for C0303 trailing-whitespace
- Check for C0326 bad-whitespace
2018-09-18 14:00:50 +02:00
Philipp Hörist 2acfcfd9f9 Update pylint error list
- Check for C0121 singleton-comparison
- Check for C0321 multiple-statements
2018-09-18 10:33:31 +02:00
Philipp Hörist 66c8c26bbc Update pylint error list
- Check for R1704 redefined-argument-from-local
- Check for R1705 no-else-return
2018-09-18 10:18:12 +02:00
Philipp Hörist 206b87d7b7 Update pylint error list
Check for R1707 trailing-comma-tuple
2018-09-17 23:42:23 +02:00
Philipp Hörist 67bb5a57c3 Update pylint error list
- Check for R0123 literal-comparison
- Check for R1703 simplifiable-if-statement
2018-09-17 23:26:52 +02:00
Philipp Hörist 55febc4963 Update pylint error list
Check for C0201 consider-iterating-dictionary
2018-09-17 22:35:39 +02:00
Philipp Hörist 71feb0b2d2 Update pylint error list
Check for W0612 unused-variable
2018-09-17 21:16:24 +02:00
Philipp Hörist c6e2335bf0 Update pylint error list
Check for W1202 logging-format-interpolation
2018-09-17 19:15:51 +02:00
Philipp Hörist 7bdad5f4e2 Update pylint error list
Check for W1201 logging-not-lazy
2018-09-17 18:57:52 +02:00
Philipp Hörist 9bab139bb5 Update pylint error list
Check for W0702 bare-except
2018-09-16 23:46:16 +02:00
Philipp Hörist f6144bff30 Update pylint error list
Check for W0621 redefined-outer-name
2018-09-16 18:04:21 +02:00
Philipp Hörist adc94bdcc6 Update pylint error list
Check for C0325 superfluous-parens
2018-09-16 14:44:09 +02:00
Philipp Hörist b4ac6db9b9 Update pre-push-tests.sh 2018-09-16 14:19:48 +02:00
Philipp Hörist d19ca8113a Add a pre-push script
Run this before every push to simulate the CI regarding mypy and pylint
2018-09-16 14:15:38 +02:00
Alexander Krotov d871dcdcb1 More spelling fixes 2018-06-22 01:47:29 +03:00
Yann Leboulanger 879e03449c fix some py2->py3 missing things. Fixes #9019 2018-04-07 23:06:48 +02:00
Yann Leboulanger eca11d2498 fix plugins_translate script 2017-09-11 12:18:56 +02:00
André Apitzsch 68a57e7c91 Replace src by gajim 2017-07-02 17:25:46 +02:00
Yann Leboulanger 9fecdb6a9c add script to build plugins translations 2011-09-03 22:56:37 +02:00
Éric Araujo dd6062319a More whitespace mini fixes. 2010-04-08 01:10:17 +02:00
Yann Leboulanger d8f9289349 fix indentation and some pylint warning in roster_window.py 2010-02-17 11:32:55 +01:00
Yann Leboulanger bb30fb7b65 fix line width and some warning from pylint 2010-02-10 15:09:35 +01:00
Yann Leboulanger 93fe011100 some error fixed, thanks pylint. 2010-02-08 23:22:06 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00