gecko-dev/tools
Andrew Halberstadt eced3471fc 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:
python2.7 -m flake8

which explicitly runs flake8 against the same interpreter as mach, no matter the default.

MozReview-Commit-ID: HSuMzDsAvsW

--HG--
extra : rebase_source : d39f97ed0f82f4d2c81f044ef1f7dad0953a3d8d
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 1435424 - Remove doxygen support from the build system. r=gps 2018-02-02 14:24:18 -08:00
fuzzing Bug 1431090 - Prepare tools/fuzzing/ to be used with JS_STANDALONE. r=froydnj 2018-01-17 15:20:35 +01:00
git Bug 1429223 - [lint] Obsolete the eslintvalidate hooks by printing error message with upgrade path, r=standard8 2018-01-09 20:03:58 -05: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
mercurial Bug 1429223 - [lint] Obsolete the eslintvalidate hooks by printing error message with upgrade path, r=standard8 2018-01-09 20:03:58 -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 1433583 - Discard information about old dead threads that no longer have any samples in the buffer. r=mystor 2018-01-30 16:00:29 -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 1419986 - Fix ./mach clang-format when run without path argument. r=sylvestre 2017-11-22 13:06:14 +05:30
moz.build Bug 1413928 - [tryselect] Add python unittest for templates r=davehunt 2017-11-21 10:11:00 -05:00