Merge pull request #79 from Crocmagnon/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
Gabriel Augendre 2023-02-28 07:54:46 +01:00 committed by GitHub
commit 2d0b193d58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View file

@ -41,11 +41,11 @@ repos:
- id: black
args: [--target-version, py311]
- repo: https://github.com/rtts/djhtml
rev: v2.0.0
rev: 3.0.2
hooks:
- id: djhtml
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.249'
rev: 'v0.0.253'
hooks:
- id: ruff
args: [--fix]
@ -55,7 +55,7 @@ repos:
- id: prettier
types_or: [javascript, css]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.34.0
rev: v8.35.0
hooks:
- id: eslint
args: [--fix]

View file

@ -56,13 +56,13 @@
<a rel="noopener" target="_blank" href="{{ blog.repo.homepage }}">free software</a>.<br>
Articles are released into the public domain through the
<a rel="license noopener noreferrer"
rel="noopener" target="_blank"
href="{{ blog.licenses.content.url }}">
rel="noopener" target="_blank"
href="{{ blog.licenses.content.url }}">
{{ blog.licenses.content.name }}</a>.
Code blocks are released into the public domain through
<a rel="license"
rel="noopener" target="_blank"
href="{{ blog.licenses.code.url }}">
rel="noopener" target="_blank"
href="{{ blog.licenses.code.url }}">
{{ blog.licenses.code.name }}</a>.
I do appreciate being mentioned as the original author if you decide
to reuse my works but the licenses don't enforce it.<br>

View file

@ -2,9 +2,9 @@
{% if not user.is_authenticated and goatcounter_domain is not None %}
<script async defer src="{% static "vendor/goatcounter.js" %}"
data-goatcounter="https://{{ goatcounter_domain }}/count"></script>
data-goatcounter="https://{{ goatcounter_domain }}/count"></script>
<noscript>
<img src="https://{{ goatcounter_domain }}/count?p={{ request.get_full_path }}"
alt="GoatCounter tracking pixel">
alt="GoatCounter tracking pixel">
</noscript>
{% endif %}