Bug 1559975 - Make python/mozbuild lint with 'py2' and 'py3' r=catlee

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Justin Wood 2019-07-05 14:36:43 +00:00
parent ee1a9fb757
commit 939e67a089
5 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# 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 unicode_literals
from __future__ import absolute_import, unicode_literals
import unittest

View File

@ -23,6 +23,7 @@
# 'manifest.tt'
from __future__ import print_function
from __future__ import absolute_import
import base64
import calendar

View File

@ -1,3 +1,4 @@
from __future__ import absolute_import
import argparse
import hashlib
import json

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
from setuptools import setup, find_packages
VERSION = '0.2'

View File

@ -23,7 +23,6 @@ py2:
- other-licenses
- python/devtools
- python/mach
- python/mozbuild
- security
- servo
- taskcluster/docker/funsize-update-generator