author Geoff Brown <gbrown@mozilla.com>
Fri, 12 May 2017 15:18:38 -0600
changeset 406366 f0f6bd0a45434bcd6159ae9f7c4f558367332fe7
parent 370407 b0dae693fdbc687830ee450a88beec616c43f673
child 410935 97d503af98d9ac9e6fdba3d8c7f2ffc6c74bac27
permissions -rw-r--r--
Bug 1361732 - Mozharness support for a second virtualenv using python3; r=aki Currently Mozharness creates a Python 2.7 virtualenvironment with all the packages needed for Mozharness to run plus any applications that need to execute within it. For Talos, we now need a second Python virtual environment for mitmproxy, however, this package is for Python 3 and not for Python 2 (perhaps it could have worked). In any case, having the ability to support create Python 3 virtual environments will be handy. Specially since the approach of creating virtual environments is not by using 'virtualenv /path/to/venv' but by calling the venv module like 'python3 -m venv /path/to/venv'. The initial implementation only supports a list of modules. The following iteration will support requirement files and other parameters needed for pip and internal pypi hosts. Originally authored by armenzg.

# See http://pep8.readthedocs.io/en/latest/intro.html#configuration
ignore = E121, E123, E126, E129, E133, E226, E241, E242, E704, W503, E402
max-line-length = 99
filename = *.py, +.lint