aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-03-04 19:27:04 -0800
committerGravatar MarkKoz <[email protected]>2020-03-04 19:47:49 -0800
commit5ed6e71fed014759ef07399ecb25eb7538b1d5ae (patch)
treec73fc0fd5b3f9218263601ba2a499404cf975e6d /pydis_site/templates
parentUpdate dev dependencies (diff)
Add more pre-commit hooks
Hooks added: * check-merge-conflict - checks for files with merge conflict strings * check-toml - attempts to load all toml files to verify syntax * check-yaml - attempts to load all yaml files to verify syntax * end-of-file-fixer - ensures files end in a newline and only a newline * mixed-line-ending - replaces mixed line endings with LF * trailing-whitespace - trims trailing whitespace * python-check-blanket-noqa - enforces that noqa annotations always occur with specific codes Changes made to comply with new hooks: * Remove trailing whitespaces * Remove some useless noqa annotations * Specify errors for noqa annotations * Add missing newlines at end of files See: python-discord/organisation#138
Diffstat (limited to 'pydis_site/templates')
-rw-r--r--pydis_site/templates/home/account/settings.html1
-rw-r--r--pydis_site/templates/home/index.html1
-rw-r--r--pydis_site/templates/wiki/history.html2
3 files changed, 0 insertions, 4 deletions
diff --git a/pydis_site/templates/home/account/settings.html b/pydis_site/templates/home/account/settings.html
index 9f48d736..ed59b052 100644
--- a/pydis_site/templates/home/account/settings.html
+++ b/pydis_site/templates/home/account/settings.html
@@ -134,4 +134,3 @@
</div>
</div>
</div>
-
diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html
index 1ee93b10..d153b293 100644
--- a/pydis_site/templates/home/index.html
+++ b/pydis_site/templates/home/index.html
@@ -105,4 +105,3 @@
</section>
{% endblock %}
-
diff --git a/pydis_site/templates/wiki/history.html b/pydis_site/templates/wiki/history.html
index 3788385f..ee297bdd 100644
--- a/pydis_site/templates/wiki/history.html
+++ b/pydis_site/templates/wiki/history.html
@@ -124,5 +124,3 @@
<script src="{% static "js/wiki/modal.js" %}" type="text/javascript"></script>
<script src="{% static "js/wiki/history.js" %}" type="text/javascript"></script>
{% endblock %}
-
-