From fd9ffe77b709f6178e7319e6a1c74b29620e8f3d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 20:39:32 +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 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v5.0.0) - [github.com/asottile/pyupgrade: v3.9.0 → v3.19.1](https://github.com/asottile/pyupgrade/compare/v3.9.0...v3.19.1) - [github.com/psf/black: 23.7.0 → 25.1.0](https://github.com/psf/black/compare/23.7.0...25.1.0) - [github.com/asottile/blacken-docs: 1.15.0 → 1.19.1](https://github.com/asottile/blacken-docs/compare/1.15.0...1.19.1) - [github.com/pycqa/isort: 5.12.0 → 6.0.1](https://github.com/pycqa/isort/compare/5.12.0...6.0.1) - [github.com/PyCQA/flake8: 6.0.0 → 7.2.0](https://github.com/PyCQA/flake8/compare/6.0.0...7.2.0) - [github.com/pre-commit/mirrors-mypy: v1.4.1 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.4.1...v1.15.0) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8f53ea3..d1c0229 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace @@ -12,30 +12,30 @@ repos: - id: check-merge-conflict - repo: https://github.com/asottile/pyupgrade - rev: v3.9.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 25.1.0 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: 1.15.0 + rev: 1.19.1 hooks: - id: blacken-docs additional_dependencies: - black==22.6.0 - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 6.0.1 hooks: - id: isort - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.2.0 hooks: - id: flake8 additional_dependencies: @@ -45,7 +45,7 @@ repos: - flake8-typing-imports - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.4.1 + rev: v1.15.0 hooks: - id: mypy files: ^redis_search_django/ From 40b715c15b2707cfc34783fff5458055e5eba397 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 20:40:03 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- example/example/asgi.py | 1 - example/example/settings.py | 1 - example/example/wsgi.py | 1 - 3 files changed, 3 deletions(-) diff --git a/example/example/asgi.py b/example/example/asgi.py index 123a033..aad1fda 100644 --- a/example/example/asgi.py +++ b/example/example/asgi.py @@ -7,7 +7,6 @@ https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ - import os from django.core.asgi import get_asgi_application diff --git a/example/example/settings.py b/example/example/settings.py index 90f7873..5005a87 100644 --- a/example/example/settings.py +++ b/example/example/settings.py @@ -10,7 +10,6 @@ https://docs.djangoproject.com/en/3.2/ref/settings/ """ - from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. diff --git a/example/example/wsgi.py b/example/example/wsgi.py index 50cc7d0..00adc8a 100644 --- a/example/example/wsgi.py +++ b/example/example/wsgi.py @@ -7,7 +7,6 @@ https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ - import os from django.core.wsgi import get_wsgi_application