{ "info": { "author": "Harrison Jackson", "author_email": "harrison.jackson@zapier.com", "bugtrack_url": null, "classifiers": [], "description": "Django Lint Test\n================\n\nLint Test is a simple Django app to perform flake8 linting on your\nproject. You'll set a settings.LINT\\_TEST\\_SINCE\\_COMMIT from some\ncommit in your git history.\n\nIt will then check files changed since that commit origin and ensure\nthey lint properly. If any file doesn't lint properly your unit test run\nwill fail.\n\n## Quick start\n--------------\n\n1. ``pip install linttest``\n\n2. Add \"linttest\" to your INSTALLED\\_APPS setting like this::\n\n ::\n\n INSTALLED_APPS = [\n ...\n 'linttest',\n ]\n\n3. Specify the commit origin in your settings (sh> git log)::\n\n ::\n\n LINT_TEST_SINCE_COMMIT = ''\n\n4. Run the management command::\n\n ::\n\n python manage.py linttest\n\n or\n\n python manage.py test linttest\n\n5. Fix any files that fail the linting!\n\n## Run with your normal tests suite\n-----------------------------------\n\n1. Verify installation with the \"Quick Start\" guide\n\n2. Add a test that extends the ``LintTestCase`` to another test file in\n your project\n\n ::\n\n from linttest.tests import LintTestCase\n\n\n class MyLintTests(LintTestCase):\n pass\n\n3. Run the test command::\n\n ::\n\n python manage.py test\n\nThis is required for django 1.6 and up because the DiscoveryRunner\ndefaults to just running tests in your project.\n\nFor local installation\n----------------------\n\n1. Git clone...\n\n2. Package it\n\n ::\n\n python setup.py sdist # rerun this and the next step on change\n\n3. From your desired install project - note the relative path - update\n for your project location\n\n ::\n\n pip install ../linttest/dist/linttest-0.1.tar.gz\n\n or\n\n ::\n\n pip install ../linttest/dist/linttest-0.1.tar.gz --upgrade # rerun on change\n\n4. You can follow the quickstart from there", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/zapier/django-linttest/tarball/0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zapier/django-linttest", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "linttest", "package_url": "https://pypi.org/project/linttest/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/linttest/", "project_urls": { "Download": "https://github.com/zapier/django-linttest/tarball/0.1", "Homepage": "https://github.com/zapier/django-linttest" }, "release_url": "https://pypi.org/project/linttest/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "A django lint test runner", "version": "0.1.4" }, "last_serial": 2933688, "releases": { "0.1.4": [ { "comment_text": "", "digests": { "md5": "d9b3488d203b7f8aebaae566b2ccff86", "sha256": "cd5c12e6971eec28e67b883cfb8c7fca95b55b137f1f830250c9e2c3f331b861" }, "downloads": -1, "filename": "linttest-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d9b3488d203b7f8aebaae566b2ccff86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3733, "upload_time": "2017-01-26T23:41:19", "url": "https://files.pythonhosted.org/packages/3a/3b/2ee5507f4676bc9aead2bc2d5ca0a82ab8382f01053b1d15bfdf69ee6156/linttest-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d9b3488d203b7f8aebaae566b2ccff86", "sha256": "cd5c12e6971eec28e67b883cfb8c7fca95b55b137f1f830250c9e2c3f331b861" }, "downloads": -1, "filename": "linttest-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d9b3488d203b7f8aebaae566b2ccff86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3733, "upload_time": "2017-01-26T23:41:19", "url": "https://files.pythonhosted.org/packages/3a/3b/2ee5507f4676bc9aead2bc2d5ca0a82ab8382f01053b1d15bfdf69ee6156/linttest-0.1.4.tar.gz" } ] }