{ "info": { "author": "Rocio Aramberri Schegel", "author_email": "rocioaramberri@schegel.net", "bugtrack_url": null, "classifiers": [ "Framework :: Flake8", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance" ], "description": "# flake8-django\n\n[![CircleCI](https://circleci.com/gh/rocioar/flake8-django/tree/master.svg?style=shield)](https://circleci.com/gh/rocioar/flake8-django/tree/master)\n[![Codecov](https://codecov.io/gh/rocioar/flake8-django/branch/master/graph/badge.svg)](https://codecov.io/gh/rocioar/flake8-django)\n[![Downloads](https://pepy.tech/badge/flake8-django)](https://pepy.tech/project/flake8-django)\n\nA flake8 plugin for Django projects.\n\n## Installation\n\nInstall from pip with:\n\n```\n$ pip install flake8-django\n```\n\n## Testing\n\nflake8-django uses pytest for tests. To run them use:\n\n```\n$ pytest\n````\n\nRun coverage report using:\n\n```\n$ pytest --cov=.\n```\n\n## List of warnings\n\n| Warning | Description |\n| --- | --- |\n| `DJ01` | Using `null=True` is not recommended for some of the Django ORM fields. E.g. `CharField`, `EmailField`, `ImageField`, `FileField`, `UUIDField`, `SlugField`, `TextField` |\n| `DJ02` | Using `blank=True` is not recommended on `BooleanField`|\n| `DJ03` | Using locals() in render function is not recommended, use explicit arguments |\n| `DJ04` | Using dashes in url names is discouraged, use underscores instead |\n| `DJ05` | URLs include() should set a namespace |\n| `DJ06` | ModelForm should not set exclude, instead it should use fields, which is an explicit list of all the fields that should be included in the form |\n| `DJ07` | ModelForm.Meta should not set fields to `__all__`|\n| `DJ08` | Models that inherits from django db models should set `__str__`|\n\n## Licence\n\nGPL\n\n## Thanks\n\n[@stummjr](https://github.com/stummjr) for teaching me AST, and what I could do with it. His [blog](https://dunderdoc.wordpress.com/) is cool.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/rocioar/flake8-django", "keywords": "", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "flake8-django", "package_url": "https://pypi.org/project/flake8-django/", "platform": "", "project_url": "https://pypi.org/project/flake8-django/", "project_urls": { "Homepage": "http://github.com/rocioar/flake8-django" }, "release_url": "https://pypi.org/project/flake8-django/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "Plugin to catch bad style specific to Django Projects", "version": "0.0.4" }, "last_serial": 4711888, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "24318302f6f7d3f03a2491674d57fc08", "sha256": "7af2f2ab1492e76e318b0147aa833c078484acfec01b2eff54a7ecbe328f8519" }, "downloads": -1, "filename": "flake8_django-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "24318302f6f7d3f03a2491674d57fc08", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3385, "upload_time": "2018-09-28T20:04:56", "url": "https://files.pythonhosted.org/packages/73/c7/a483e9c4082075e58b8e6ede131f32f4632e4d292bc3600aa0e5afe8eda4/flake8_django-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2fc6c480bb180e90cc4f8f3974a8de30", "sha256": "97576b939efe89fba49dd5436ad62adababa00511c2e8a96491b9551668f196b" }, "downloads": -1, "filename": "flake8-django-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2fc6c480bb180e90cc4f8f3974a8de30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2734, "upload_time": "2018-09-28T20:04:58", "url": "https://files.pythonhosted.org/packages/2d/08/f8bdfe38923d177df6fde0df3521e51905b0cefcbe7dfcc1da0ec591a2f2/flake8-django-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "fb6acb5be16271909024e1401a0768ba", "sha256": "a5d1acda4220e7ad53c2290fbe21cfccbb1d1604ddc048429d63d84e22707a6f" }, "downloads": -1, "filename": "flake8_django-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "fb6acb5be16271909024e1401a0768ba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15452, "upload_time": "2018-10-02T15:01:30", "url": "https://files.pythonhosted.org/packages/76/23/a4ba06c0ac9f41f8df972657de386e871223a348cd7bead5e9a02dcfc0cb/flake8_django-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "272e30d7a58da55d4352b96e2ede107c", "sha256": "a27a44fe8f438468f2a5d7f453c7eb49850e64ba814975298140b7de9b4864e5" }, "downloads": -1, "filename": "flake8-django-0.0.2.tar.gz", "has_sig": false, "md5_digest": "272e30d7a58da55d4352b96e2ede107c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2302, "upload_time": "2018-10-02T15:01:32", "url": "https://files.pythonhosted.org/packages/0d/7c/36d021e8e306fdbd722b8bf01ff7b4b4836367e3448291b88767437a6c58/flake8-django-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "624464a48b990dc4ee2fb6551eb0be35", "sha256": "0e5292d6ecd7797e40f588c9fe3903eb1a010bf892db7f6a7fb8808956e369db" }, "downloads": -1, "filename": "flake8_django-0.0.3-py3.7.egg", "has_sig": false, "md5_digest": "624464a48b990dc4ee2fb6551eb0be35", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 34192, "upload_time": "2019-01-18T11:35:24", "url": "https://files.pythonhosted.org/packages/61/cc/fc14df5cf677a6dc407b89f57c9180413ba10df6bc35192010b25ab96c8f/flake8_django-0.0.3-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "969b8ed59c074d55dd2ab30ee44a8418", "sha256": "af4b240de5a8bac27ea2596b9b4860aad052922fa8a347e28d09a898fee29f42" }, "downloads": -1, "filename": "flake8_django-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "969b8ed59c074d55dd2ab30ee44a8418", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18331, "upload_time": "2018-10-03T13:47:54", "url": "https://files.pythonhosted.org/packages/fe/86/a8e3f1057294011b46495318dda342c97c067e28a99d66beaf09a606090d/flake8_django-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0648ef00f64befa8f40d9f41811ea73", "sha256": "44ae68fe251a7affd39445acc78965d48f86bf37a04f5f647eba318cac1d29e4" }, "downloads": -1, "filename": "flake8-django-0.0.3.tar.gz", "has_sig": false, "md5_digest": "a0648ef00f64befa8f40d9f41811ea73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17042, "upload_time": "2018-10-03T13:47:56", "url": "https://files.pythonhosted.org/packages/be/cb/030d547009b50db648e19f24368a4dd1e1ddc2e254ef0c8d8f7e51698b19/flake8-django-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "889c6c4b935b2a09c4987f9f9f9cb3e6", "sha256": "7329ec2e2b8b194e8109639c534359014c79df4d50b14f4b85b8395edc5d6760" }, "downloads": -1, "filename": "flake8-django-0.0.4.tar.gz", "has_sig": false, "md5_digest": "889c6c4b935b2a09c4987f9f9f9cb3e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5009, "upload_time": "2019-01-18T11:35:22", "url": "https://files.pythonhosted.org/packages/18/82/63945ffd14b8c7ae5cacb08b5b2af7be9969bc994fff8edd6e9b03659b6d/flake8-django-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "889c6c4b935b2a09c4987f9f9f9cb3e6", "sha256": "7329ec2e2b8b194e8109639c534359014c79df4d50b14f4b85b8395edc5d6760" }, "downloads": -1, "filename": "flake8-django-0.0.4.tar.gz", "has_sig": false, "md5_digest": "889c6c4b935b2a09c4987f9f9f9cb3e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5009, "upload_time": "2019-01-18T11:35:22", "url": "https://files.pythonhosted.org/packages/18/82/63945ffd14b8c7ae5cacb08b5b2af7be9969bc994fff8edd6e9b03659b6d/flake8-django-0.0.4.tar.gz" } ] }