{ "info": { "author": "Antoine Motet", "author_email": "antoine.motet@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "\n# jinjalint\n\nA prototype linter which checks the indentation and the correctness of\n[Jinja][jinja]-like/HTML templates. Can [fix issues][django-commit].\n\nIt works with [Django\u2019s templates][djangotemplates] too, it should\nwork with [Twig](https://twig.symfony.com/) and similar template languages.\nIt should work fine with any kind of HTML 4 and 5, hovewer XHTML\u00a0is not\nsupported.\n\nThis linter parses both HTML and Jinja tags and will report mismatched\ntags and indentation errors:\n\n```html+jinja\n
something
\n{% if not something %}{% endif %}\n```\n\n## Usage\n\nYou need Python 3. Jinjalint doesn\u2019t work with Python 2. Install it with\n`pip install jinjalint` (or `pip3 install jinjalint` depending on how `pip` is\ncalled on your system), then run it with:\n\n```sh\n$ jinjalint template-directory/\n```\n\n\u2026or:\n\n```sh\n$ jinjalint some-file.html some-other-file.html\n```\n\nThis is a work in progress. Feel free to contribute :upside_down_face:\n\n[jinja]: http://jinja.pocoo.org/docs/2.9/\n[django-commit]: https://github.com/django/djangoproject.com/commit/14a964d626196c857809d9b3b492ff4cfa4b3f40\n[djangotemplates]: https://docs.djangoproject.com/en/1.11/ref/templates/language/\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/motet-a/jinjalint", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "jinjalint", "package_url": "https://pypi.org/project/jinjalint/", "platform": "", "project_url": "https://pypi.org/project/jinjalint/", "project_urls": { "Homepage": "https://github.com/motet-a/jinjalint" }, "release_url": "https://pypi.org/project/jinjalint/0.5/", "requires_dist": null, "requires_python": "", "summary": "A linter for Jinja-like templates", "version": "0.5" }, "last_serial": 4471910, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "f33b80ddf74b513ac7f2c9b7df28870e", "sha256": "2438ab9dd9b0859ca7434fa50a2e28acf2da95fc771cbc574a031e3a9446a1b2" }, "downloads": -1, "filename": "jinjalint-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f33b80ddf74b513ac7f2c9b7df28870e", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 14990, "upload_time": "2017-11-08T21:13:08", "url": "https://files.pythonhosted.org/packages/fd/0a/e8c2cebbe115e27289e2474ad009a4346626e8e9c6983986923de915e6bc/jinjalint-0.0.3-py3-none-any.whl" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "31527afc615db58553c66e22ddded22c", "sha256": "05e556c9c48452f8c9cfdd52b49f97e147ed0eb9a43dba052d53e481c477b3c8" }, "downloads": -1, "filename": "jinjalint-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "31527afc615db58553c66e22ddded22c", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 15879, "upload_time": "2017-11-10T11:15:29", "url": "https://files.pythonhosted.org/packages/3c/3f/21a2ddaca297caac9fdcb614405d90eaddc487c7e1f1283c80b8c796f007/jinjalint-0.1-py3-none-any.whl" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "0c5a507ee781d43374968c7877a3c3df", "sha256": "dffb8809f2bad2c7f08997d45426a9a1d4270842d1834dfaa5df123139c176d3" }, "downloads": -1, "filename": "jinjalint-0.3.tar.gz", "has_sig": false, "md5_digest": "0c5a507ee781d43374968c7877a3c3df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31734, "upload_time": "2018-11-04T14:54:36", "url": "https://files.pythonhosted.org/packages/12/39/b24df380de008595e13695b25cabdee1263e25fcb1cb73252f8dc368f791/jinjalint-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "d3e6eed2d55d45dbd0bd1e04933df972", "sha256": "78f716b0cb295f970b4bde0b03d01f014d788827e8f00931ed7332c7af67e27d" }, "downloads": -1, "filename": "jinjalint-0.4.tar.gz", "has_sig": false, "md5_digest": "d3e6eed2d55d45dbd0bd1e04933df972", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32100, "upload_time": "2018-11-04T14:57:41", "url": "https://files.pythonhosted.org/packages/f4/38/6f594bed1f3077d9aa139c0219bc2d88402d197549587e99b82a82f30f40/jinjalint-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "e66fbf8d7c6c373ff3262c1ddd6f21e3", "sha256": "4490e4a8f1d23de28306137b8ff5ae4a979db07b3ac9a4eb2726bf174dc41827" }, "downloads": -1, "filename": "jinjalint-0.5.tar.gz", "has_sig": false, "md5_digest": "e66fbf8d7c6c373ff3262c1ddd6f21e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32312, "upload_time": "2018-11-10T07:18:39", "url": "https://files.pythonhosted.org/packages/30/f0/49ad922d23b39e52fcf22038371cb22672d676825e2fad5cb2f764376d4e/jinjalint-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e66fbf8d7c6c373ff3262c1ddd6f21e3", "sha256": "4490e4a8f1d23de28306137b8ff5ae4a979db07b3ac9a4eb2726bf174dc41827" }, "downloads": -1, "filename": "jinjalint-0.5.tar.gz", "has_sig": false, "md5_digest": "e66fbf8d7c6c373ff3262c1ddd6f21e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32312, "upload_time": "2018-11-10T07:18:39", "url": "https://files.pythonhosted.org/packages/30/f0/49ad922d23b39e52fcf22038371cb22672d676825e2fad5cb2f764376d4e/jinjalint-0.5.tar.gz" } ] }