Bug 1559975 - fix python2 linter errors for testing/tps r=ahal

Differential Revision: https://phabricator.services.mozilla.com/D37779

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Edwin Gao 2019-07-16 17:49:05 +00:00
parent 67bbe2a68a
commit e20d3db72d
8 changed files with 13 additions and 1 deletions

View File

@ -9,6 +9,8 @@ It's probably best to specify a path NOT inside the repo, otherwise
all the virtualenv files will show up in e.g. hg status.
"""
from __future__ import absolute_import, print_function
import optparse
import os
import shutil

View File

@ -2,6 +2,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from __future__ import absolute_import
from setuptools import setup, find_packages
import sys

View File

@ -3,5 +3,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# flake8: noqa
from __future__ import absolute_import
from . firefoxrunner import TPSFirefoxRunner
from . testrunner import TPSTestRunner

View File

@ -2,6 +2,8 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from __future__ import absolute_import, print_function
import json
import optparse
import os

View File

@ -2,6 +2,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from __future__ import absolute_import, print_function
import httplib2
import os

View File

@ -2,6 +2,8 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from __future__ import absolute_import
import re
import os.path

View File

@ -2,6 +2,8 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from __future__ import absolute_import, print_function
import json
import os
import re

View File

@ -26,7 +26,6 @@ py2:
- testing/mozharness
- testing/raptor
- testing/tools
- testing/tps
- testing/web-platform
- toolkit
- tools/profiler