Commit Graph

39 Commits

Author SHA1 Message Date
Marcin Mielniczuk 9328475c22 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-07 00:46:58 +02:00
Philipp Hörist 458b1804aa Add python3-cairo to CI 2018-10-07 00:46:53 +02:00
Philipp Hörist 637b373ac4 Update CI
- Run mypy on the full gajim folder
2018-10-07 00:46:53 +02:00
Philipp Hörist 5d7df84f13 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-10-07 00:46:51 +02:00
Philipp Hörist 4eb226bb37 Update pylint error list
- Check for W0109 duplicate-key
- Check for W0123 eval-used
- Check for W0143 comparison-with-callable
2018-10-07 00:46:50 +02:00
Philipp Hörist cb95e22004 Update pylint error list
- Check for W0104 pointless-statement
- Check for W0105 pointless-string-statement
- Check for W0108 unnecessary-lambda
2018-10-07 00:46:50 +02:00
Philipp Hörist 62020bf6aa Update pylint error list
- Check for E0601 used-before-assignment
- Check for E0704 misplaced-bare-raise
- Check for W0101 unreachable
2018-10-07 00:46:50 +02:00
Philipp Hörist 9543e0a190 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-10-07 00:46:49 +02:00
Philipp Hörist 8a2044a59c 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-10-07 00:46:49 +02:00
Philipp Hörist d0c913af23 Update pylint error list
- Check for R1714 consider-using-in
- Check for W0107 unnecessary-pass
- Check for W0235 useless-super-delegation
2018-10-07 00:46:49 +02:00
Philipp Hörist 7e177f05ac Update pylint error list
- Check for W0622 redefined-builtin
- Check for C0303 trailing-whitespace
- Check for C0326 bad-whitespace
2018-10-07 00:46:48 +02:00
Philipp Hörist b2a64fe5cc Update pylint error list
- Check for C0121 singleton-comparison
- Check for C0321 multiple-statements
2018-10-07 00:46:47 +02:00
Philipp Hörist 56f4d35169 Update pylint error list
- Check for R1704 redefined-argument-from-local
- Check for R1705 no-else-return
2018-10-07 00:46:46 +02:00
Philipp Hörist 4923464dfa Update pylint error list
Check for R1707 trailing-comma-tuple
2018-10-07 00:46:45 +02:00
Philipp Hörist e4e998272c Update pylint error list
- Check for R0123 literal-comparison
- Check for R1703 simplifiable-if-statement
2018-10-07 00:46:45 +02:00
Philipp Hörist be2d1131bb Update pylint error list
Check for C0201 consider-iterating-dictionary
2018-10-07 00:46:44 +02:00
Philipp Hörist aca7019bbb Update pylint error list
Check for W0612 unused-variable
2018-10-07 00:46:44 +02:00
Philipp Hörist 7c558d38a6 Update pylint error list
Check for W1202 logging-format-interpolation
2018-10-07 00:46:43 +02:00
Philipp Hörist a8509db2e5 Update pylint error list
Check for W1201 logging-not-lazy
2018-10-07 00:46:43 +02:00
Philipp Hörist 7674450cc6 Update pylint error list
Check for W0702 bare-except
2018-10-07 00:46:42 +02:00
Philipp Hörist f9c9b2f051 Update pylint error list
Check for W0621 redefined-outer-name
2018-10-07 00:46:42 +02:00
Philipp Hörist e952739dee Update pylint error list
Check for C0325 superfluous-parens
2018-10-07 00:46:42 +02:00
Philipp Hörist bdc93e17ae Update pylint error list
Check for R0205 useless-object-inheritance
2018-10-07 00:46:40 +02:00
Philipp Hörist 4f14e19308 Update pylint error list
Check for W0611 unused-import
2018-10-07 00:46:40 +02:00
Philipp Hörist eba6c92290 Update pylint error list
Check for C1801 len-as-condition
2018-10-07 00:46:39 +02:00
Yann Leboulanger 64d1cb9ef9 fix running pylint 2018-10-07 00:46:38 +02:00
Philipp Hörist fc9bf91115 Add mypy test to CI 2018-10-07 00:46:37 +02:00
Yann Leboulanger 2a2217b80e also check for W0102 warning (when mutable value is used as default
argument)
2017-12-03 15:44:59 +01:00
André Apitzsch 5819f7e439 setup.py: move plugins directory to data directory 2017-09-22 21:48:18 +02:00
André Apitzsch 9950228dca setup.py: add test and test_nogui 2017-09-22 19:12:26 +02:00
André Apitzsch 343811c2f6 Cover plugins in setup.py 2017-09-22 19:12:26 +02:00
André Apitzsch 996607d656 CI: Update package script 2017-09-22 19:12:26 +02:00
André Apitzsch f1b009dc0c Fix CI test execution 2017-09-22 19:12:26 +02:00
Yann Leboulanger 915ad1524d add pylint run to CI 2017-08-27 21:43:28 +02:00
Yann Leboulanger d11b40ca39 fix ci script 2017-08-19 23:13:47 +02:00
Yann Leboulanger fc4bc7eabb run tests with pyopenssl 2017-08-09 22:28:43 +02:00
Yann Leboulanger c66669ccf3 clean download folder 2017-08-09 22:21:48 +02:00
Yann Leboulanger 44a29e7a50 make tests run without gui 2017-08-09 22:09:01 +02:00
Yann Leboulanger 9ec14d35cb add .gitlab-ci.yml 2017-08-09 22:04:47 +02:00