Skip to main content

Django Template Linter

Project description

djLint

Simple html template linter and reformatter to find common formatting issues with and reformat django html templates

Ps, --check it out on Jinja and Handlebar templates as well!

codecov test Codacy Badge Maintainability

Documentation

Read the documentation

Show your format

Add a badge to your projects readme.md:

[![Code style: black](https://img.shields.io/badge/html%20style-djlint-blue.svg)](https://github.com/Riverside-Healthcare/djlint)

Add a badge to your readme.rst:

.. image:: https://img.shields.io/badge/html%20style-djlint-blue.svg
   :target: https://github.com/Riverside-Healthcare/djlint

Looks like this:

djlint

Contributing - Please Help!

Checkout the issue list and help where you can!

Changelog

0.0.8

Added rules.

0.0.1

Initial release.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djlint-0.1.2.tar.gz (373.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djlint-0.1.2-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file djlint-0.1.2.tar.gz.

File metadata

  • Download URL: djlint-0.1.2.tar.gz
  • Upload date:
  • Size: 373.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.0

File hashes

Hashes for djlint-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0d34f0bc50576a7d6a6b4b9f0a88d59a6fc26366292b9d348c2a569c96813836
MD5 b1e146ff546e4fcab1340285c796ba6f
BLAKE2b-256 7044387d91e8e2b765f2da37341276a98172e8c4377723d3e88cf2728c544a41

See more details on using hashes here.

File details

Details for the file djlint-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: djlint-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.0

File hashes

Hashes for djlint-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b9b157997189db1b85d8d1950e4733ee8e847afd1c1fc6895f3e33a0428d5444
MD5 e3776e6bbad9a284e2d3bc0d3500f7a6
BLAKE2b-256 2d121a52e4d12aca35dce38d060700d2229e75af00dca60c9e0c9fc6482384f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page