{ "info": { "author": "Wolfgang Schnerring", "author_email": "ws@gocept.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development", "Topic :: Software Development :: Testing" ], "description": "=============\ngocept.jslint\n=============\n\nThis package integrates the JSHint code analysis tool (http://jshint.com) with\nPython's unittest module. (The name is left over from when JSHint didn't exist\nand only Douglas Crockford's JSLint was available.)\n\nIt provides a special JSLint-TestCase class that collects JavaScript files (in\na configurable manner) and dynamically generates a test method for each file\nthat calls jshint on that file.\n\nTo use it, create a test class like this::\n\n class MyJSLintTest(gocept.jslint.TestCase):\n\n include = ('my.package.browser:js',\n 'my.package.browser:js/lib')\n options = (gocept.jslint.TestCase.options +\n ('browser', 'jquery',))\n\n\n``include`` is a list of \"resource paths\" of the form ``packagename:path``\n(passed to pkg_resources).\n\n``options`` is a list of arguments that are passed to JSHint (see its\n`documentation`_ for details).\n\n.. _documentation: http://www.jshint.com/options/\n\n``predefined`` is a list of global names that should be considered predefined\n(for use with the ``undef`` option).\n\n``exclude`` can be a list of filenames (without path) that will not be\ncollected.\n\nAll files ending in ``.js`` contained in each of these paths will be collected,\nand the test class will grow a method named ``test_jslint_filename.js``.\n\nYou can ignore JSLint error by setting ``ignore`` on the test class (a list of\nsubstrings that are matched against each JSLint output line):\n\n ignore = (\n \"Use a named parameter\",\n )\n\n\nRequirements\n============\n\ngocept.jslint is tested with Python 2.7, 3.6 and 3.7.\n\ngocept.jslint uses `node.js`_ to run jshint, so you need to have node.js\n(version 0.3 or later) with the ``jshint`` npm module installed and the\n``jshint`` binary available on your ``$PATH``.\n\nYou can customize the name of the jshint binary by setting ``jshint_command``\non the TestCase, or set the environment variable ``JSHINT_COMMAND``.\n\n.. _node.js: http://nodejs.org/\n\n\nCHANGES\n=======\n\n2.0 (2019-02-25)\n----------------\n\n- Add support for Python 3.6 and 3.7.\n\n- Stop testing with Python 2.6.\n\n- Run the tests against currently most recent versions of the dependencies.\n\n- Change testrunner to py.test.\n\n\n1.1.1 (2014-10-22)\n------------------\n\n- Get jshint command from environment (#13073).\n\n\n1.1 (2012-05-21)\n----------------\n\n- Use jshint instead of jslint.\n\n\n1.0.1 (2012-04-18)\n------------------\n\n- Uniquify duplicate file names in a prettier way: increment a counter, don't\n just blindly append '_1' (#9454).\n\n\n1.0 (2011-08-25)\n----------------\n\n- Add support for linting JS files contained in zipped eggs (#9453).\n- Add an entry point for running jslint from the command line (#9449).\n- Skip tests if node.js is not available. Skipping tests only works properly in\n Python >= 2.7, though. (#9458)\n\n\n0.2 (2011-08-24)\n----------------\n\n- Implement custom error ignores (#9456).\n\n\n0.1 (2011-08-10)\n----------------\n\n- first release.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/gocept/gocept.jslint", "keywords": "", "license": "ZPL", "maintainer": "", "maintainer_email": "", "name": "gocept.jslint", "package_url": "https://pypi.org/project/gocept.jslint/", "platform": "", "project_url": "https://pypi.org/project/gocept.jslint/", "project_urls": { "Homepage": "https://bitbucket.org/gocept/gocept.jslint" }, "release_url": "https://pypi.org/project/gocept.jslint/2.0/", "requires_dist": null, "requires_python": "", "summary": "Python-unittest integration for jslint.", "version": "2.0" }, "last_serial": 4864480, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b08170eb172ac3dd455a7d00be59bcb9", "sha256": "9a3ced6b123d7303723a657e7bd67569f6b64bfe9d3a540aef26063a3711f5a0" }, "downloads": -1, "filename": "gocept.jslint-0.1.tar.gz", "has_sig": false, "md5_digest": "b08170eb172ac3dd455a7d00be59bcb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52539, "upload_time": "2011-08-10T12:36:01", "url": "https://files.pythonhosted.org/packages/46/0d/8113bdddb3c0c2be2719290eee4c464e183ee37eea3e57a13357b3d22923/gocept.jslint-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "24077e09a02418f40b8597eedf5e0063", "sha256": "034e9f8fba528424653d969dc39d5972d54b0fd18e43bfe3cb22549bfef49b5b" }, "downloads": -1, "filename": "gocept.jslint-0.2.tar.gz", "has_sig": false, "md5_digest": "24077e09a02418f40b8597eedf5e0063", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52878, "upload_time": "2011-08-24T13:11:34", "url": "https://files.pythonhosted.org/packages/7d/7a/863c95592578a1d07c55dd6fd635cd6d3425f2a502d2934a1ae5216a138e/gocept.jslint-0.2.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "1279f3dbeafbbfc352085d198f2df883", "sha256": "5ab2c8d4d3fee434b43bb1b6037fce93875cc414c16b1e7b0632a2897d845eb5" }, "downloads": -1, "filename": "gocept.jslint-1.0.tar.gz", "has_sig": false, "md5_digest": "1279f3dbeafbbfc352085d198f2df883", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53787, "upload_time": "2011-08-25T14:14:34", "url": "https://files.pythonhosted.org/packages/5b/da/071b0a7d745e016cd23403c681bb45de309a30b53b7087cc77acac6abb15/gocept.jslint-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "1aa7c5fa8861a10c42428c7cf202e2b2", "sha256": "9a8a66c2f60baecbccd127289c455e2261d570776f71bd76b88b4b7122214af2" }, "downloads": -1, "filename": "gocept.jslint-1.0.1.zip", "has_sig": false, "md5_digest": "1aa7c5fa8861a10c42428c7cf202e2b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63019, "upload_time": "2012-04-18T09:58:16", "url": "https://files.pythonhosted.org/packages/ee/80/c709c420a2d78d376723a5a8a5f8d9625ed4e46bdb524f34a69db88be7a4/gocept.jslint-1.0.1.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "880e78a7953e5ed148e0dc66740d5919", "sha256": "225769bba666ad42da6312c08ce6ad268bbcde5c604d52809a66325d53205d55" }, "downloads": -1, "filename": "gocept.jslint-1.1.zip", "has_sig": false, "md5_digest": "880e78a7953e5ed148e0dc66740d5919", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14882, "upload_time": "2012-05-21T12:57:50", "url": "https://files.pythonhosted.org/packages/4c/02/6ec05c55dd14cf2e0edb74b328455c47d544cbed83d45ab7d833a136c1c9/gocept.jslint-1.1.zip" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "f15e5b107b7c4bf428fc9bee1ad1c20d", "sha256": "5fcf8f4d64e23d1d6d250508a35f158c41a6d289b1850c1aa6ce593af0659e41" }, "downloads": -1, "filename": "gocept.jslint-1.1.1.zip", "has_sig": false, "md5_digest": "f15e5b107b7c4bf428fc9bee1ad1c20d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15947, "upload_time": "2014-10-22T12:18:10", "url": "https://files.pythonhosted.org/packages/55/bc/529305f734495548bd2dd793765e75003fffd76d7fce39e249bd3f9a2e36/gocept.jslint-1.1.1.zip" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "067442761ba1b6ac20d777fffcff2f22", "sha256": "3760668cf02592d22dbfadceb914f3a52ad683976335427b251999420dedb47e" }, "downloads": -1, "filename": "gocept.jslint-2.0.tar.gz", "has_sig": false, "md5_digest": "067442761ba1b6ac20d777fffcff2f22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6714, "upload_time": "2019-02-25T13:09:24", "url": "https://files.pythonhosted.org/packages/2b/6c/3f877c8534491b7376b6c9ed9d2a6133e4fcb86f5c3f1c804a8049f3e14d/gocept.jslint-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "067442761ba1b6ac20d777fffcff2f22", "sha256": "3760668cf02592d22dbfadceb914f3a52ad683976335427b251999420dedb47e" }, "downloads": -1, "filename": "gocept.jslint-2.0.tar.gz", "has_sig": false, "md5_digest": "067442761ba1b6ac20d777fffcff2f22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6714, "upload_time": "2019-02-25T13:09:24", "url": "https://files.pythonhosted.org/packages/2b/6c/3f877c8534491b7376b6c9ed9d2a6133e4fcb86f5c3f1c804a8049f3e14d/gocept.jslint-2.0.tar.gz" } ] }