Bug 1466211 - Run mozlint tests using pipenv; r?ahal draft
authorDave Hunt <dhunt@mozilla.com>
Fri, 01 Jun 2018 16:13:44 +0100
changeset 804936 f2076a8bf551b7e7d4f95240e67d6d9e4d159134
parent 803746 e73ed427438d92bc2e720f8ef7e70f625b86fc91
child 804937 cc4bbb654c2a2a66d7c072374e4fb62da4580cd4
push id112505
push userbmo:dave.hunt@gmail.com
push dateWed, 06 Jun 2018 20:48:11 +0000
reviewersahal
bugs1466211
milestone62.0a1
Bug 1466211 - Run mozlint tests using pipenv; r?ahal MozReview-Commit-ID: JCyWbN5D7Lv
python/Pipfile
python/Pipfile.lock
python/mozlint/setup.py
--- a/python/Pipfile
+++ b/python/Pipfile
@@ -1,16 +1,17 @@
 [[source]]
 url = "https://pypi.org/simple"
 verify_ssl = true
 name = "pypi"
 
 [packages]
 "d5b4a14" = {path = "./mach"}
 "8ddb376" = {path = "./mozbuild"}
+"8b3b8fb" = {path = "./mozlint"}
 "b3ddbcf" = {path = "./mozterm"}
 "38a4a9a" = {path = "./mozversioncontrol"}
 "26d92fb" = {path = "./../config/mozunit"}
 "cea2946" = {path = "./../testing/mozbase/manifestparser"}
 "ffcf6e6" = {path = "./../testing/mozbase/mozcrash"}
 "195ae2e" = {path = "./../testing/mozbase/mozdebug"}
 "8dab59a" = {path = "./../testing/mozbase/mozdevice"}
 "58d0848" = {path = "./../testing/mozbase/mozfile"}
@@ -25,13 +26,14 @@ name = "pypi"
 "6477f20" = {path = "./../testing/mozbase/moztest"}
 "f1d74ca" = {path = "./../testing/mozbase/mozversion"}
 "b017005" = {path = "./../third_party/python/blessings"}
 "47200d8" = {path = "./../third_party/python/futures", markers="python_version < '3'"}
 "110bcc4" = {path = "./../third_party/python/jsmin"}
 "c49d32a" = {path = "./../third_party/python/mock-1.0.0", markers="python_version < '3.3'"}
 "c2c21d9" = {path = "./../third_party/python/py"}
 "f4b00e9" = {path = "./../third_party/python/pytest"}
+"b1adf4f" = {path = "./../third_party/python/pyyaml"}
 "053111f" = {path = "./../third_party/python/requests"}
 "d250320" = {path = "./../third_party/python/six"}
 "f1de77a" = {path = "./../third_party/python/which", markers="python_version < '3.3'"}
 
 [dev-packages]
--- a/python/Pipfile.lock
+++ b/python/Pipfile.lock
@@ -1,12 +1,12 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "1be7f260e6efc0f277a4802c69d3073ad27c04b8dde02cefee1c8718a8d62a6a"
+            "sha256": "5bf436197c6da48d677b2d02f99f54bebadd7bd8341ec298a6d407f06a3acce4"
         },
         "pipfile-spec": 6,
         "requires": {},
         "sources": [
             {
                 "name": "pypi",
                 "url": "https://pypi.org/simple",
                 "verify_ssl": true
@@ -49,25 +49,31 @@
             "path": "./../testing/mozbase/moztest"
         },
         "7329809": {
             "path": "./../testing/mozbase/mozinfo"
         },
         "807c1c5": {
             "path": "./../testing/mozbase/mozlog"
         },
+        "8b3b8fb": {
+            "path": "./mozlint"
+        },
         "8dab59a": {
             "path": "./../testing/mozbase/mozdevice"
         },
         "8ddb376": {
             "path": "./mozbuild"
         },
         "b017005": {
             "path": "./../third_party/python/blessings"
         },
+        "b1adf4f": {
+            "path": "./../third_party/python/pyyaml"
+        },
         "b3ddbcf": {
             "path": "./mozterm"
         },
         "c2c21d9": {
             "path": "./../third_party/python/py"
         },
         "c49d32a": {
             "markers": "python_version < '3.3'",
--- a/python/mozlint/setup.py
+++ b/python/mozlint/setup.py
@@ -11,17 +11,21 @@ DEPS = ["mozlog>=3.4"]
 
 setup(
     name='mozlint',
     description='Framework for registering and running micro lints',
     license='MPL 2.0',
     author='Andrew Halberstadt',
     author_email='ahalberstadt@mozilla.com',
     url='',
-    packages=['mozlint'],
+    packages=[
+        'mozlint',
+        'mozlint.util',
+        'mozlint.formatters',
+    ],
     version=VERSION,
     classifiers=[
         'Environment :: Console',
         'Development Status :: 3 - Alpha',
         'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
         'Natural Language :: English',
     ],
     install_requires=DEPS,