{ "info": { "author": "Cedar", "author_email": "support@cedar.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Lint Django migrations\n\n## Install\n```bash\npip install lint_django_migrations\n```\n\n## How to use\n1. Install the app in settings.py\n```python\nINSTALLED_APPS = [\n # ...\n \"lint_django_migrations\",\n]\n```\n\n2. Check your migrations\n```bash\npython manage.py lintmigrations\n```\nThis will return an error if any of the migrations are backwards incompatible.\n\n3. Fix errors\nIf there is an error, you have 2 options. Fix the migration or tell the linter that\nthe migration is not backwards incompatible. If you feel the migration is ok, run the command\nagain with the `--interactive` flag\n```bash\npython manage.py lintmigrations --interactive\n```\n\n## Setup on existing code base\nIf you would like to setup the linter on the existing codebase, it can be tedious to mark\nevery applied migration as valid. For that purpose, you can snapshot the current state and\njust run the linter on future migrations\n```bash\npython manage.py lintmigrations --force-update\n\n## All API options\n\n```\n\n## Run the linter in CI\nIf you want to run the linter, but not update the state use the following command\n```bash\npython manage.py lintmigrations --check-only\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cedar-team/lint_django_migrations", "keywords": "django migration lint linter database backward compatibility", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "lint-django-migrations", "package_url": "https://pypi.org/project/lint-django-migrations/", "platform": "", "project_url": "https://pypi.org/project/lint-django-migrations/", "project_urls": { "Homepage": "https://github.com/cedar-team/lint_django_migrations" }, "release_url": "https://pypi.org/project/lint-django-migrations/1.0.15/", "requires_dist": null, "requires_python": "", "summary": "Detect backward incompatible migrations for your django project", "version": "1.0.15" }, "last_serial": 5962027, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "6c320971cb8939b2159ddf7b006ac921", "sha256": "e5cf9b556f76559578906ce683b518db68aa775ae1f77393a9ce1510d14d24c4" }, "downloads": -1, "filename": "lint_django_migrations-1.0.0.tar.gz", "has_sig": false, "md5_digest": "6c320971cb8939b2159ddf7b006ac921", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10583, "upload_time": "2019-05-28T03:20:52", "url": "https://files.pythonhosted.org/packages/0a/a2/f875aa53ce88366658c0167d01f8ab3b64081b45ee01638fef97de2e7f28/lint_django_migrations-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "ef0a87ce4f76e2af52b5cb67721b4978", "sha256": "59a7aaf1d114890372d644a848a945cc5923946a209d3aa5ba3296180081296a" }, "downloads": -1, "filename": "lint_django_migrations-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ef0a87ce4f76e2af52b5cb67721b4978", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10580, "upload_time": "2019-05-28T03:24:54", "url": "https://files.pythonhosted.org/packages/ed/56/fa86f2533260009e72389ad9497f3878916a3ae828e106226a2808ac94ee/lint_django_migrations-1.0.1.tar.gz" } ], "1.0.10": [ { "comment_text": "", "digests": { "md5": "487fbc63a46bfae5d4a91e6a56d7c2f5", "sha256": "29525d752c7dbbf0c8519aeb62a34b3ce8ac9c7b583f300a22f3de23de4530df" }, "downloads": -1, "filename": "lint_django_migrations-1.0.10.tar.gz", "has_sig": false, "md5_digest": "487fbc63a46bfae5d4a91e6a56d7c2f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11352, "upload_time": "2019-06-18T21:52:14", "url": "https://files.pythonhosted.org/packages/02/10/6694cc93c7ad3977c7226bcc86ea8304c2b639b9876134937ed248c022ab/lint_django_migrations-1.0.10.tar.gz" } ], "1.0.11": [ { "comment_text": "", "digests": { "md5": "0806181f714c621d3f65cf2e73748849", "sha256": "3c9ac49df410434b91f01694f6f3d1c0c6a33946be97581e67631b92708bd38f" }, "downloads": -1, "filename": "lint_django_migrations-1.0.11.tar.gz", "has_sig": false, "md5_digest": "0806181f714c621d3f65cf2e73748849", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11391, "upload_time": "2019-06-18T22:46:48", "url": "https://files.pythonhosted.org/packages/d6/bf/a9ba322171c778112bc742a84a614de76d831e0702f0369418c2ad315e78/lint_django_migrations-1.0.11.tar.gz" } ], "1.0.12": [ { "comment_text": "", "digests": { "md5": "9c5d162e1d23e7268826b2dd30bbf9b8", "sha256": "dc9a4f84226a55497b388f8c61583b489dbde9d5b66c37e046723f457f7a54aa" }, "downloads": -1, "filename": "lint_django_migrations-1.0.12.tar.gz", "has_sig": false, "md5_digest": "9c5d162e1d23e7268826b2dd30bbf9b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11691, "upload_time": "2019-06-19T18:51:56", "url": "https://files.pythonhosted.org/packages/3a/12/c824342c818575cdd1f10c2e04d5cafc991f26e352f90f5f1d18e7895ed6/lint_django_migrations-1.0.12.tar.gz" } ], "1.0.13": [ { "comment_text": "", "digests": { "md5": "8f5d5a5d6528d4365cab07bf46cd9503", "sha256": "f21fe47b810743ae517c502ff24bd2e6b9b73a415f7858b2c5c85bae45fd9a5e" }, "downloads": -1, "filename": "lint_django_migrations-1.0.13.tar.gz", "has_sig": false, "md5_digest": "8f5d5a5d6528d4365cab07bf46cd9503", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11691, "upload_time": "2019-06-19T20:04:00", "url": "https://files.pythonhosted.org/packages/f5/65/92e3c326a9c1d107c100dd90414c8f80225afa8dba39a6db9b9c0dedb6b0/lint_django_migrations-1.0.13.tar.gz" } ], "1.0.14": [ { "comment_text": "", "digests": { "md5": "91a7d8b82cc9a15a81d258c3010dbec5", "sha256": "f38672bffd6816d95dafee4e0be547bf7a2b62351c38f1d3eebfb452fd26014e" }, "downloads": -1, "filename": "lint_django_migrations-1.0.14.tar.gz", "has_sig": false, "md5_digest": "91a7d8b82cc9a15a81d258c3010dbec5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11499, "upload_time": "2019-06-26T19:33:58", "url": "https://files.pythonhosted.org/packages/67/c7/48e056d0564752969ea9aeb0bef032f5cc887e02ad5e0d7dbbaa5079ce84/lint_django_migrations-1.0.14.tar.gz" } ], "1.0.15": [ { "comment_text": "", "digests": { "md5": "8c3287b4bbfcee2057c95fbb1bda2c7d", "sha256": "c05e2485003912cf351692a9a82f10e57a0a6b0b31949af965e5817f91334c08" }, "downloads": -1, "filename": "lint_django_migrations-1.0.15.tar.gz", "has_sig": false, "md5_digest": "8c3287b4bbfcee2057c95fbb1bda2c7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11879, "upload_time": "2019-10-11T21:20:40", "url": "https://files.pythonhosted.org/packages/ee/2f/4f70a6f6e1d0f56b1ceba8560eddd9111ab7ba10f86aacd406ab9b52b167/lint_django_migrations-1.0.15.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "40d00f822c16b49f9050cdfabbb57931", "sha256": "6bb1aa5f54553c8f5cc44855648467df76ba9cd3ff5a564907082fec8049f11a" }, "downloads": -1, "filename": "lint_django_migrations-1.0.2.tar.gz", "has_sig": false, "md5_digest": "40d00f822c16b49f9050cdfabbb57931", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10348, "upload_time": "2019-05-28T17:35:24", "url": "https://files.pythonhosted.org/packages/53/d0/b55c15a5328618e96ef2765b7e2e48832fb4df7a166088b74c6d7804f4a9/lint_django_migrations-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "fb452559c2e6340d48a43f8d9cbe7255", "sha256": "e3d55be3f4c0f9af284dea703ee507c55456a9e1158ee51f1805bb39dca2646d" }, "downloads": -1, "filename": "lint_django_migrations-1.0.3.tar.gz", "has_sig": false, "md5_digest": "fb452559c2e6340d48a43f8d9cbe7255", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11427, "upload_time": "2019-05-28T20:28:09", "url": "https://files.pythonhosted.org/packages/52/88/e1476e349f85fceab250b3b1775360809f4236f9f8262a63226198b75622/lint_django_migrations-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "99ecf5efc4954c49d36e1e8822ef7194", "sha256": "d4561f29a00e3fcdf8ff866d91830260307c9623fb107d316a330f572823491b" }, "downloads": -1, "filename": "lint_django_migrations-1.0.4.tar.gz", "has_sig": false, "md5_digest": "99ecf5efc4954c49d36e1e8822ef7194", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11431, "upload_time": "2019-05-28T20:33:40", "url": "https://files.pythonhosted.org/packages/0d/b2/c347333d8de60eb62195c71207520f543f916ab4329ae10fadf453fafd8b/lint_django_migrations-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "11938e40eeec20803be7d2184aaabb13", "sha256": "d823e434d05aa8d345698266e26458530f57bc3bb22aa9f7f82ef0aa0a373c74" }, "downloads": -1, "filename": "lint_django_migrations-1.0.5.tar.gz", "has_sig": false, "md5_digest": "11938e40eeec20803be7d2184aaabb13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11406, "upload_time": "2019-05-29T01:11:49", "url": "https://files.pythonhosted.org/packages/cf/53/b189c2277a8135bfffd08d919aea6ab4445eb78da62787d338c8fa6232a8/lint_django_migrations-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "3782979d568d0cbed07341b84723cd86", "sha256": "22c0d607a8acfcb1d8a58989164aea829a72b4ecab62649b4eb8cdfa2d96238f" }, "downloads": -1, "filename": "lint_django_migrations-1.0.6.tar.gz", "has_sig": false, "md5_digest": "3782979d568d0cbed07341b84723cd86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11283, "upload_time": "2019-06-03T18:12:38", "url": "https://files.pythonhosted.org/packages/72/d9/9120b8a90952159329191c3d1c47171f5de518c66a4f21f42d27a3286505/lint_django_migrations-1.0.6.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "47745541beb79161d9e96da4f3d74b39", "sha256": "64d42e3bcc2402b0dc5e6ef0cc06b9b820da685a7605b1d546d005177e75c887" }, "downloads": -1, "filename": "lint_django_migrations-1.0.8.tar.gz", "has_sig": false, "md5_digest": "47745541beb79161d9e96da4f3d74b39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11216, "upload_time": "2019-06-03T18:22:45", "url": "https://files.pythonhosted.org/packages/61/f3/d553f18e92f32660e9d4b899c7679e49d47a5e43b84519ba4578eea50438/lint_django_migrations-1.0.8.tar.gz" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "b0dfbd1756bf7b2c7d5fbc6323b31762", "sha256": "6c3dc4e2092dd8a7d839a9edaae92817dffc60225041f11a8c3ff2899ec3193f" }, "downloads": -1, "filename": "lint_django_migrations-1.0.9.tar.gz", "has_sig": false, "md5_digest": "b0dfbd1756bf7b2c7d5fbc6323b31762", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11341, "upload_time": "2019-06-18T20:44:01", "url": "https://files.pythonhosted.org/packages/92/77/206dff49dcdf7471ce625ea52772adf75e83b07a3a54e47b9b1676db5a32/lint_django_migrations-1.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8c3287b4bbfcee2057c95fbb1bda2c7d", "sha256": "c05e2485003912cf351692a9a82f10e57a0a6b0b31949af965e5817f91334c08" }, "downloads": -1, "filename": "lint_django_migrations-1.0.15.tar.gz", "has_sig": false, "md5_digest": "8c3287b4bbfcee2057c95fbb1bda2c7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11879, "upload_time": "2019-10-11T21:20:40", "url": "https://files.pythonhosted.org/packages/ee/2f/4f70a6f6e1d0f56b1ceba8560eddd9111ab7ba10f86aacd406ab9b52b167/lint_django_migrations-1.0.15.tar.gz" } ] }