From d3d1431aed42747948bd891a7fe1521a8f94b3eb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:51:12 +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/astral-sh/ruff-pre-commit: v0.6.9 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.8.6) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0b852975..9179ba9c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: codespell files: ^.*\.(py|md|rst)$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 + rev: v0.8.6 hooks: - id: ruff args: [ "--fix", "--exit-non-zero-on-fix" ] From f4a51f21830dbb14ddee07083109382a26394261 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:51:19 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tin/tests/assertions.py | 4 ++-- tin/tests/create_users.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tin/tests/assertions.py b/tin/tests/assertions.py index 9b91f449..697bb13e 100644 --- a/tin/tests/assertions.py +++ b/tin/tests/assertions.py @@ -7,10 +7,10 @@ from django.http import HttpResponse, HttpResponseRedirect __all__ = ( - "is_redirect", - "not_redirect", "is_login_redirect", + "is_redirect", "not_login_redirect", + "not_redirect", ) diff --git a/tin/tests/create_users.py b/tin/tests/create_users.py index 35ed5bb7..a082449e 100644 --- a/tin/tests/create_users.py +++ b/tin/tests/create_users.py @@ -2,7 +2,7 @@ from django.contrib.auth import get_user_model -__all__ = ("user_data", "add_users_to_database") +__all__ = ("add_users_to_database", "user_data") # fmt: off user_data = [