Skip to content

Commit

Permalink
Update djlint rules
Browse files Browse the repository at this point in the history
Update the djlint flags. This ignores some lint rules in order to
address them more gradually.
  • Loading branch information
osoriano committed Jun 4, 2024
1 parent d9faf94 commit 666c479
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion deploy-board/deploy_board/templates/configs/capacity.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h4 class="panel-title pull-left">Capacity</h4>

{% block main %}

<div id = "clusterAlert">
<div id="clusterAlert">
<in-rolling-alert v-show="showReplaceAlert" actionlink="/env/{{ env.envName }}/{{ env.stageName }}/config/cluster/config/"></in-rolling-alert>
</div>
{% include "environs/env_tabs.tmpl" with envTabKind="config/capacity" %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ <h4 class="panel-title pull-left pointer-cursor">

{% else %}
<p align="center" style="padding:2%;"><i>Deploy not yet started in stage {{ env.stageName }}.</i></p>
{% if provisioning_hosts %}
{% if provisioning_hosts %}
<div class="panel panel-default table-responsive">
<table class="table table-condensed table-hover">
<tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h4>Average Star Rating:
<th>Date</th>
</tr>
{% for rating in ratings %}
{% if rating.feedback != "" or rating.rating != "-1" %}
{% if rating.feedback != "" or rating.rating != "-1" %}
<tr>
<td>{{ rating.feedback }}</td>
<td>
Expand Down Expand Up @@ -121,4 +121,4 @@ <h4>Average Star Rating:
}
});
</script>
{% endblock %}
{% endblock %}
4 changes: 2 additions & 2 deletions deploy-board/deploy_board/templates/groups/group_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ <h4 class="panel-title pull-left pointer-cursor">On demand auto scaling group ac
<div id="scalingActivityDivid" class="collapse in panel-body">
</div>
</div>
{% if enable_spot %}
{% if enable_spot %}
<div class="panel panel-default">
<div id="spotScalingDivid" class="panel-heading clearfix">
<h4 class="panel-title pull-left pointer-cursor">Spot auto scaling group activities</h4>
Expand Down Expand Up @@ -243,7 +243,7 @@ <h4 class="modal-title">Launch Confirm</h4>
</div>

<div class="form-group">
<div class ="col-md-12" id="config_div_id"></div>
<div class="col-md-12" id="config_div_id"></div>
</div>
</div>
<div class="modal-footer">
Expand Down
2 changes: 1 addition & 1 deletion deploy-board/deploy_board/templates/host_side_panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h4 class="modal-title">Host Termination Confirm</h4>

{% endif %}

{% if hosts and show_force_terminate %}
{% if hosts and show_force_terminate %}
<div class="row">
<button class="deployToolTip btn btn-default btn-block" data-target="#forceTerminateHost"
data-toggle="modal" title="Directly terminate instance without running stopping script on the host.">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h4 class="panel-title pull-left">Manage Users & Tokens</h4>

{% block main %}
<div id="usersConfigId" class="panel panel-default">
{% if pinterest and user_types != 'token_roles' %}
{% if pinterest and user_types != 'token_roles' %}
{% include "users/users_moved_message.html" %}
{% else %}
{% include "users/users_config.tmpl" %}
Expand Down

0 comments on commit 666c479

Please sign in to comment.