From a6a54dbda3faaf0b7c6c7c02beaffa5edc46882a Mon Sep 17 00:00:00 2001 From: Omar Soriano Date: Tue, 4 Jun 2024 01:05:20 +0000 Subject: [PATCH] Update djlint rules Update the djlint flags. This ignores some lint rules in order to address them more gradually. --- .pre-commit-config.yaml | 2 +- deploy-board/deploy_board/templates/configs/capacity.html | 2 +- deploy-board/deploy_board/templates/environs/env_landing.html | 2 +- .../deploy_board/templates/feedbacks/feedback_landing.html | 4 ++-- deploy-board/deploy_board/templates/groups/group_details.html | 4 ++-- deploy-board/deploy_board/templates/host_side_panel.html | 2 +- deploy-board/deploy_board/templates/users/users_config.html | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 461994e517..fac59d9275 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,4 +13,4 @@ repos: rev: v1.34.1 hooks: - id: djlint-django - args: [--ignore="H031"] + args: ["--ignore=D004,D018,H006,H013,H014,H019,H021,H023,H025,H026,H031,T001,T002,T003"] diff --git a/deploy-board/deploy_board/templates/configs/capacity.html b/deploy-board/deploy_board/templates/configs/capacity.html index b46f474ccd..774533651d 100644 --- a/deploy-board/deploy_board/templates/configs/capacity.html +++ b/deploy-board/deploy_board/templates/configs/capacity.html @@ -53,7 +53,7 @@

Capacity

{% block main %} -
+
{% include "environs/env_tabs.tmpl" with envTabKind="config/capacity" %} diff --git a/deploy-board/deploy_board/templates/environs/env_landing.html b/deploy-board/deploy_board/templates/environs/env_landing.html index db10cf0263..84e6ff3fbb 100644 --- a/deploy-board/deploy_board/templates/environs/env_landing.html +++ b/deploy-board/deploy_board/templates/environs/env_landing.html @@ -542,7 +542,7 @@

{% else %}

Deploy not yet started in stage {{ env.stageName }}.

-{% if provisioning_hosts %} +{% if provisioning_hosts %}
diff --git a/deploy-board/deploy_board/templates/feedbacks/feedback_landing.html b/deploy-board/deploy_board/templates/feedbacks/feedback_landing.html index 65d2177e11..5ab77707e4 100644 --- a/deploy-board/deploy_board/templates/feedbacks/feedback_landing.html +++ b/deploy-board/deploy_board/templates/feedbacks/feedback_landing.html @@ -61,7 +61,7 @@

Average Star Rating:

{% for rating in ratings %} - {% if rating.feedback != "" or rating.rating != "-1" %} + {% if rating.feedback != "" or rating.rating != "-1" %}
Date
{{ rating.feedback }} @@ -121,4 +121,4 @@

Average Star Rating: } }); -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/deploy-board/deploy_board/templates/groups/group_details.html b/deploy-board/deploy_board/templates/groups/group_details.html index d497a76de9..74308e4d4e 100644 --- a/deploy-board/deploy_board/templates/groups/group_details.html +++ b/deploy-board/deploy_board/templates/groups/group_details.html @@ -211,7 +211,7 @@

On demand auto scaling group ac
- {% if enable_spot %} + {% if enable_spot %}

Spot auto scaling group activities

@@ -243,7 +243,7 @@
-
+