Skip to content

Commit

Permalink
ci: pre-commit autoupdate (#106)
Browse files Browse the repository at this point in the history
* ci: pre-commit autoupdate

updates:
- [github.com/adamchainz/django-upgrade: 1.14.0 → 1.14.1](adamchainz/django-upgrade@1.14.0...1.14.1)
- https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit
- [github.com/astral-sh/ruff-pre-commit: v0.0.278 → v0.0.287](astral-sh/ruff-pre-commit@v0.0.278...v0.0.287)
- https://github.com/ambv/blackhttps://github.com/psf/black

* ci: auto fixes from pre-commit hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Sep 7, 2023
1 parent 2730866 commit 79839d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ repos:
args: ["--py38-plus"]

- repo: https://github.com/adamchainz/django-upgrade
rev: '1.14.0'
rev: '1.14.1'
hooks:
- id: django-upgrade
args: [--target-version, "3.2"]

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.278"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.287"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -37,7 +37,7 @@ repos:
- id: check-merge-conflict
- id: mixed-line-ending

- repo: https://github.com/ambv/black
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
Expand Down
2 changes: 1 addition & 1 deletion django_bleach/tests/test_templatetags.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_linkify(self):
)
rendered_template = template_to_render.render(context)
self.assertInHTML(
'<a href="http://{0}" rel="nofollow">{0}</a>'.format(url),
f'<a href="http://{url}" rel="nofollow">{url}</a>',
rendered_template,
)

Expand Down

0 comments on commit 79839d1

Please sign in to comment.