Skip to content

Commit

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

updates:
- [github.com/asottile/pyupgrade: v3.15.0 → v3.15.2](asottile/pyupgrade@v3.15.0...v3.15.2)
- [github.com/adamchainz/django-upgrade: 1.15.0 → 1.16.0](adamchainz/django-upgrade@1.15.0...1.16.0)
- [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.3.5](astral-sh/ruff-pre-commit@v0.1.6...v0.3.5)
- [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.3.5](astral-sh/ruff-pre-commit@v0.1.6...v0.3.5)

* 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] authored Apr 2, 2024
1 parent 73daf3b commit 5ec7e05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@ ci:

repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
args: ["--py38-plus"]

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

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.6"
rev: "v0.3.5"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.6
rev: v0.3.5
hooks:
- id: ruff-format

Expand Down
1 change: 1 addition & 0 deletions src/djangocms_snippet/templatetags/snippet_tags.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Snippet template tags
"""

from contextlib import contextmanager

from django import template
Expand Down

0 comments on commit 5ec7e05

Please sign in to comment.