Commit Graph

187 Commits

Author SHA1 Message Date
Philipp Hörist 637b373ac4 Update CI
- Run mypy on the full gajim folder
2018-10-07 00:46:53 +02:00
Philipp Hörist 8e5d3102cf Update pre-push-tests.sh 2018-10-07 00:46:51 +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 4c877cfb9c Update pre-push-tests.sh 2018-10-07 00:46:41 +02:00
Philipp Hörist 57af04d7d3 Add a pre-push script
Run this before every push to simulate the CI regarding mypy and pylint
2018-10-07 00:46:41 +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
André Apitzsch 7943120b25 Use setuptools' automatic script creation 2018-01-13 22:50:38 +01:00
André Apitzsch 5375965f87 Don't hard code python path in scripts to support virtualenv 2017-09-22 19:12:26 +02:00
André Apitzsch 624bee755c fix file lookup location and other issues 2017-09-22 19:12:26 +02:00
Yann Leboulanger eca11d2498 fix plugins_translate script 2017-09-11 12:18:56 +02:00
André Apitzsch 6d1c659b4b Expand Python module search path
to work around the issue that the gajim module cannot be found
2017-08-18 19:48:48 +02:00
André Apitzsch b11b7a4a95 Check for root only on unix systems 2017-08-18 19:48:48 +02:00
André Apitzsch 3b80057888 Update bin scripts 2017-08-18 19:48:48 +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
Bruno Tarquini fe8bd2b027 autotools: remove confusing variables ${datadir} and DATADIR.
Those variables were confusing because autoconf usually defines DATADIR to
PREFIX/share and gajim uses both defs.datadir=PREFIX/share/gajim and
gajim.DATA_DIR=PREFIX/share/gajim/data.

Now, autoconf will use PKGDATADIR for setting the (renamed) defs.basedir
variable which will be used to set gajimpaths['DATA_DIR'] and
gajimpaths['ICONS_DIR'] in configpaths.py

Gajim will also looks for the ${GAJIM_BASEDIR} environment variable instead of
${datadir} which was really too generic (no namespace).
2009-11-28 12:54:41 +01:00
Bruno Tarquini 6123687dda autotools: add a new autoconf variable: ${gajim_srcdir}.
It expanded version is GAJIM_SRCDIR.

It indicate where pyfiles will be installed (for now: PREFIX/share/gajim/src).

simplify src/Makefile.am by using nobase_ and dist_ prefix.
nobase_ allows hiearchical installation instead of flat directory
installation.
2009-11-28 12:54:30 +01:00
Yann Leboulanger eb11c24eea egg.trayicon is dead. Light a candle :'(
Fixes #3021, #5246
2009-11-24 14:33:49 +01:00
Stephan Erb 58106549a1 Use pylint instead of pychecker.
The latter one has to execute the modules and does not work all the time.
2009-10-18 19:40:09 +02:00
Stephan Erb 2ce45a2f0c Also run 'make check' in the build-test. 2009-10-18 18:43:25 +02:00
Stephan Erb a628fa1672 Add simple build check script 2009-10-18 18:38:13 +02:00
Yann Leboulanger aff4e444f6 fix argument calling in launchers. Fixes #4847. See #4819 2009-03-01 16:20:22 +00:00
Yann Leboulanger 35a0262d6d [brubru] Factorize lauchers. Fixes #4819 2009-02-17 12:29:54 +00:00
Yann Leboulanger bb8269e051 missing file. Fixes #4641 2009-01-06 18:16:44 +00:00
Yann Leboulanger cb10c4e4ea set datadir to /usr/share/gajim instead of /usr/share. Fixes #4638 2009-01-05 22:22:34 +00:00
Yann Leboulanger a4132ee58b ability to use adtadir environment variable to set data directory 2009-01-05 15:12:19 +00:00