{ "info": { "author": "Chris Lamb", "author_email": "chris@chris-lamb.co.uk", "bugtrack_url": null, "classifiers": [], "description": "django-lint\n\"\"\"\"\"\"\"\"\"\"\"\n\n**Consulting services**: if your organisation needs a reputable software developer with a track record of producing high-quality and maintainable Python/Django code, please get in touch to discuss your needs. `More info `_\n\n----\n\nIdeas\n=====\n\n * Default manager with restrictive get_query_set()\n * Oldforms (?)\n * Overring definition of model. Eg:\n class MyModel(models.Model):\n \tfoo = [..]\n\tfoo = [..]\n * Not importing settings via \"django.conf import settings\"\n * Not using reverse (or @permalink) in get_absolute_url (?)\n * Form definitions in models.py\n * Ignore tests\n\nModels\n======\n\n * Don't count ManyToMany fields on a model as a field\n * Remove common prefix checking.\n * models.. specifying \"objects = \" should be last\n\nViews\n=====\n\n * Calling request.is_authenticated without actually calling function\n * order_by('?')\n * request.method.upper is a no-op (etc.)\n * cache.set without a timeout\n\nURLS\n====\n\n * Unreversible urlpatterns\n\nLayout\n======\n\n * Form class not in forms.py\n * Admin class not in admin.py\n\nTemplates\n=========\n\n * {% if foo %}{{ foo }}{% else %}bar{% endif %} => {{ foo|default:\"bar\" }}\n * {% with foo as bar %} ... [ not using {{ bar }} ] ... {% endwith %}\n * {% endblock %} vs. {% endblock blockname %}\n\nSettings\n========\n * Ordering of MIDDLEWARE_CLASSES\n * TEMPLATE_DIRS not absolute\n\nLayout\n======\n forms not in forms.py\n managers not in managers.py\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://chris-lamb.co.uk/projects/django-lint", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-lint", "package_url": "https://pypi.org/project/django-lint/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-lint/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://chris-lamb.co.uk/projects/django-lint" }, "release_url": "https://pypi.org/project/django-lint/2.0.4/", "requires_dist": null, "requires_python": null, "summary": "Static analysis tool for Django projects.", "version": "2.0.4" }, "last_serial": 2042118, "releases": { "0.0.0": [], "1": [ { "comment_text": "", "digests": { "md5": "3b0921a456ca66757fa249e20422279d", "sha256": "84c8670295cde196bb31ed07b27f0d334cacff1be019912c6227d72603fd1c4d" }, "downloads": -1, "filename": "django-lint-1.tar.gz", "has_sig": false, "md5_digest": "3b0921a456ca66757fa249e20422279d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7865, "upload_time": "2015-10-03T09:50:39", "url": "https://files.pythonhosted.org/packages/f0/24/833631e45ec486c59d4e68893168acaf6a6c80a609e0509c291aa34f9327/django-lint-1.tar.gz" } ], "2": [ { "comment_text": "", "digests": { "md5": "6f9542ff7adb68986b5b424d45623929", "sha256": "39c024c9cad516d8b1a9e8639cabd90cd68d225b0b0b162c7984291c92cd306e" }, "downloads": -1, "filename": "django-lint-2.tar.gz", "has_sig": false, "md5_digest": "6f9542ff7adb68986b5b424d45623929", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7931, "upload_time": "2015-10-07T07:48:01", "url": "https://files.pythonhosted.org/packages/13/91/4fa581be2f0615db1a84850cb1038ab3549d7550d57ecbc6352c11a5d530/django-lint-2.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "440022fadae777aae3708f9d499d1b71", "sha256": "26c72819785fae8a1ab142e4e1732a82ee236656fbdd16b1132b08c97967c86d" }, "downloads": -1, "filename": "django-lint-2.0.1.tar.gz", "has_sig": false, "md5_digest": "440022fadae777aae3708f9d499d1b71", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7946, "upload_time": "2015-10-14T14:50:58", "url": "https://files.pythonhosted.org/packages/37/bf/beeadbbcdd47d3519e1040b0ee66a3de66c382a7bec9d020639e9d62d2c1/django-lint-2.0.1.tar.gz" } ], "2.0.3": [ { "comment_text": "", "digests": { "md5": "f709884cc7c946f8c15a2597fa0c6f07", "sha256": "7dd0b0ed7192e626f774897b852cc6dbfbc5fe838f6f6cb315ff6ab4f01b5e29" }, "downloads": -1, "filename": "django-lint-2.0.3.tar.gz", "has_sig": false, "md5_digest": "f709884cc7c946f8c15a2597fa0c6f07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8103, "upload_time": "2016-03-20T13:11:19", "url": "https://files.pythonhosted.org/packages/cb/36/de24237e2abaaebdea9320bcaba8180ea3e2f04019b10d331a6f8d8cd12c/django-lint-2.0.3.tar.gz" } ], "2.0.4": [ { "comment_text": "", "digests": { "md5": "a3c2a784a9fab00964dfef275dad037d", "sha256": "25f28091d40f4586aa46cd3cab3d98665067ade95d7a45013ab24f03bb9989f1" }, "downloads": -1, "filename": "django-lint-2.0.4.tar.gz", "has_sig": false, "md5_digest": "a3c2a784a9fab00964dfef275dad037d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8107, "upload_time": "2016-04-02T17:12:08", "url": "https://files.pythonhosted.org/packages/43/c3/94dcb0344e65ecf383deab434733f057dd3479cf7387638c6cc5813ecaca/django-lint-2.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a3c2a784a9fab00964dfef275dad037d", "sha256": "25f28091d40f4586aa46cd3cab3d98665067ade95d7a45013ab24f03bb9989f1" }, "downloads": -1, "filename": "django-lint-2.0.4.tar.gz", "has_sig": false, "md5_digest": "a3c2a784a9fab00964dfef275dad037d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8107, "upload_time": "2016-04-02T17:12:08", "url": "https://files.pythonhosted.org/packages/43/c3/94dcb0344e65ecf383deab434733f057dd3479cf7387638c6cc5813ecaca/django-lint-2.0.4.tar.gz" } ] }