gecko-dev/tools
Andrew Halberstadt c731fa1f2c Bug 1436639 - [lint] Make sure flake8 is run with same python as |mach lint| was, r=jmaher
This fixes a bug which can happen when the default version of python differs from
the version of python used with mach.

For example, mach explicitly looks for python2.7. This means running |mach lint -l flake8|
should also run flake8 with version 2.7. But if the default is python3, and flake8 is also
installed there, the subprocess call that invokes flake8 will run under python3. This can
lead to errors like "undefined name 'basestring'" and other 2to3 gotchas.

This patch ensures that we run the flake8 binary (and the pip for installing flake8) from
the same interpreter as mach, no matter the system default.

MozReview-Commit-ID: HSuMzDsAvsW

--HG--
extra : rebase_source : faf4c8c0eb6f46d8b50c2d9be9aa6f6d47e4e0cb
2018-02-07 23:28:33 -05:00
..
bloatview
clang-tidy Bug 1430749 - Update the list of checkers in config.yaml to add some clang-analyzer-security checks. r=janx 2018-01-16 14:43:05 +02:00
code-coverage Bug 1230369 - Manually fix some remaining instances of Ci/Cc/Cu definitions and switch Components.* to using the shorthand in some places. r=florian 2018-02-07 09:24:15 +00:00
compare-locales bug 1382005, update compare-locales to 2.1, r=glandium 2017-09-18 18:31:24 +02:00
coverity Bug 1412048 - Remove NS_RUNTIMEABORT. r=froydnj 2017-10-24 23:41:15 -07:00
docs Bug 1437484 - Pin and hash all requirements for |mach doc|, r=gps 2018-02-12 09:36:12 -05:00
fuzzing Bug 1431090 - Prepare tools/fuzzing/ to be used with JS_STANDALONE. r=froydnj 2018-01-17 15:20:35 +01:00
jprof Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
leak-gauge Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8 2017-10-15 20:50:39 +01:00
lint Bug 1436639 - [lint] Make sure flake8 is run with same python as |mach lint| was, r=jmaher 2018-02-07 23:28:33 -05:00
power Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium 2017-09-11 11:33:26 -07:00
profiler Bug 1434965 - Take 'streaming generation' into account when de-duplicating JIT frames. r=njn 2018-02-10 20:03:36 -05:00
quitter Bug 1230369 - Manually fix some remaining instances of Ci/Cc/Cu definitions and switch Components.* to using the shorthand in some places. r=florian 2018-02-07 09:24:15 +00:00
rb
rewriting Bug 1432789 - Follow-up to list wrench as third-party. r=me 2018-01-27 07:05:04 -05:00
tryselect Bug 1413928 - [tryselect] Implement paths for |mach try fuzzy| r=maja_zf 2017-11-15 16:36:07 -05:00
update-packaging Bug 1424294 - Also manage spaces in filename in tools/update-packaging/common.sh r=bhearsum 2017-12-08 15:21:07 +01:00
mach_commands.py Bug 1405554 - Merge clang-format with clang-tidy under the same package from toolchains. r=gps 2018-02-09 09:01:17 +02:00
moz.build Bug 1436725 - [lint] Remove obsolete eslintvalidate files, r=standard8 2018-02-08 09:25:14 -05:00