From 93a0abfa651bcb5abf590675cbfe66381e3f36b4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 16:40:38 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.9.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.4...v0.9.9) - [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 41c32c79..7bda0f59 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,14 +4,14 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.7.4" + rev: "v0.9.9" hooks: - id: ruff args: ["--fix", "--show-fixes"] exclude: \.md$ - repo: https://github.com/psf/black - rev: "24.10.0" + rev: "25.1.0" hooks: - id: black language: python From 04f3b5026b770cc92a44b4e1940ecdc1890d5281 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 16:40:58 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- _frontend/src/index.css | 4 ++-- eap_backend/tests/test_models.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_frontend/src/index.css b/_frontend/src/index.css index b7d7f862..31e6e8a9 100644 --- a/_frontend/src/index.css +++ b/_frontend/src/index.css @@ -17,8 +17,8 @@ body, } code { - font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", - monospace; + font-family: + source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace; } /* Full height container */ diff --git a/eap_backend/tests/test_models.py b/eap_backend/tests/test_models.py index ab0db657..7e5cd0ff 100644 --- a/eap_backend/tests/test_models.py +++ b/eap_backend/tests/test_models.py @@ -1,4 +1,4 @@ -""" from https://realpython.com/testing-in-django-part-1-best-practices-and-examples/ +"""from https://realpython.com/testing-in-django-part-1-best-practices-and-examples/ https://www.bezkoder.com/django-rest-api/ https://docs.djangoproject.com/en/3.2/topics/testing/tools/"""