Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#486)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 →
v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/tox-dev/pyproject-fmt: 2.2.1 →
2.2.4](tox-dev/pyproject-fmt@2.2.1...2.2.4)
- [github.com/tox-dev/tox-ini-fmt: 1.3.1 →
1.4.1](tox-dev/tox-ini-fmt@1.3.1...1.4.1)
- [github.com/sphinx-contrib/sphinx-lint: v0.9.1 →
v1.0.0](sphinx-contrib/sphinx-lint@v0.9.1...v1.0.0)
- [github.com/adamchainz/django-upgrade: 1.20.0 →
1.21.0](adamchainz/django-upgrade@1.20.0...1.21.0)
- [github.com/adamchainz/djade-pre-commit: 1.0.0 →
1.2.0](adamchainz/djade-pre-commit@1.0.0...1.2.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Adam Johnson <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and adamchainz authored Oct 8, 2024
1 parent 3cee88d commit c934531
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ default_language_version:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -17,11 +17,11 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 2.2.1
rev: 2.2.4
hooks:
- id: pyproject-fmt
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 1.3.1
rev: 1.4.1
hooks:
- id: tox-ini-fmt
- repo: https://github.com/rstcheck/rstcheck
Expand All @@ -32,7 +32,7 @@ repos:
- sphinx==6.1.3
- tomli==2.0.1
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v0.9.1
rev: v1.0.0
hooks:
- id: sphinx-lint
- repo: https://github.com/asottile/pyupgrade
Expand All @@ -41,7 +41,7 @@ repos:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.20.0
rev: 1.21.0
hooks:
- id: django-upgrade
args: [--target-version, '3.2']
Expand Down Expand Up @@ -77,6 +77,6 @@ repos:
- django-stubs==5.0.4
- types-python-dateutil
- repo: https://github.com/adamchainz/djade-pre-commit
rev: 1.0.0
rev: 1.2.0
hooks:
- id: djade
10 changes: 5 additions & 5 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Changelog
1.19.0 (2024-08-05)
-------------------

* Add :func:`django_htmx.http.replace_url()` for setting the ``HX-Replace-URL`` header.
* Add :func:`django_htmx.http.replace_url` for setting the ``HX-Replace-URL`` header.

Thanks to Bogumil Schube in `PR #396 <https://github.com/adamchainz/django-htmx/pull/396>`__.

Expand Down Expand Up @@ -70,17 +70,17 @@ Changelog
1.13.0 (2022-11-10)
-------------------

* Make the ``params`` argument of :func:`.trigger_client_event()` optional.
* Make the ``params`` argument of :func:`.trigger_client_event` optional.

Thanks to Chris Tapper in `PR #263 <https://github.com/adamchainz/django-htmx/pull/263>`__.

* Add :func:`django_htmx.http.push_url()` for setting the ``HX-Push-URL`` header.
* Add :func:`django_htmx.http.push_url` for setting the ``HX-Push-URL`` header.

Thanks to Chris Tapper in `PR #264 <https://github.com/adamchainz/django-htmx/pull/264>`__.

* Add :func:`django_htmx.http.reswap()` for setting the ``HX-Reswap`` header added in `htmx 1.8.0 <https://htmx.org/posts/2022-07-12-htmx-1.8.0-is-released/>`__.
* Add :func:`django_htmx.http.reswap` for setting the ``HX-Reswap`` header added in `htmx 1.8.0 <https://htmx.org/posts/2022-07-12-htmx-1.8.0-is-released/>`__.

* Add :func:`django_htmx.http.retarget()` for setting the ``HX-Retarget`` header added in `htmx 1.6.1 <https://htmx.org/posts/2021-11-22-htmx-1.6.1-is-released/>`__.
* Add :func:`django_htmx.http.retarget` for setting the ``HX-Retarget`` header added in `htmx 1.6.1 <https://htmx.org/posts/2021-11-22-htmx-1.6.1-is-released/>`__.

* Add :class:`.HttpResponseLocation` for sending a response with the ``HX-Location`` header.

Expand Down

0 comments on commit c934531

Please sign in to comment.