From 70539fa5c8d416f68b4ec4845e98311982bcaa71 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 17:34:40 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.6.0) - [github.com/psf/black: 23.7.0 → 24.4.2](https://github.com/psf/black/compare/23.7.0...24.4.2) - [github.com/PyCQA/flake8: 6.0.0 → 7.0.0](https://github.com/PyCQA/flake8/compare/6.0.0...7.0.0) - [github.com/asottile/pyupgrade: v3.9.0 → v3.15.2](https://github.com/asottile/pyupgrade/compare/v3.9.0...v3.15.2) - [github.com/adamchainz/django-upgrade: 1.14.0 → 1.17.0](https://github.com/adamchainz/django-upgrade/compare/1.14.0...1.17.0) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bbb8646a..ba372c9c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,25 +1,25 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 24.4.2 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.0.0 hooks: - id: flake8 - repo: https://github.com/asottile/pyupgrade - rev: v3.9.0 + rev: v3.15.2 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/adamchainz/django-upgrade - rev: 1.14.0 + rev: 1.17.0 hooks: - id: django-upgrade args: [--target-version, "3.2"] From bdfa254807bc76056711d2fc5bdfa8cc526b846b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 17:35:08 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- taggit/serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/taggit/serializers.py b/taggit/serializers.py index d3337bc7..69b21a9b 100644 --- a/taggit/serializers.py +++ b/taggit/serializers.py @@ -3,6 +3,7 @@ Originally vendored from https://github.com/glemmaPaul/django-taggit-serializer """ + import json # Third party