From 5b1901793035a74ae0038c3edf13020483d9da09 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 22:03:15 +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.14.13 → v0.16.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.13...v0.16.5) - [github.com/pre-commit/mirrors-mypy: v1.19.1 → v2.3.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.19.1...v2.3.1) - [github.com/sourcery-ai/sourcery: v1.43.0 → v1.45.0](https://github.com/sourcery-ai/sourcery/compare/v1.43.0...v1.45.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d0a8d85..168c6ef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,17 +28,17 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.13 + rev: v0.16.5 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.19.1 + rev: v2.3.1 hooks: - id: mypy - repo: https://github.com/sourcery-ai/sourcery - rev: v1.43.0 + rev: v1.45.0 hooks: - id: sourcery args: [--diff=git diff HEAD, --no-summary] From 54a5784df0ffc3cd049b870398522d86547f6b1e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 22:06:07 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 19 +++++++++++++++---- pythonbible/README.md | 19 +++++++++++++++---- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ed74fff..ec8ad0c 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,9 @@ For example, given the following normalized scripture reference for Genesis 1:1- ```python import pythonbible as bible -reference = bible.NormalizedReference(bible.Book.GENESIS, 1, 1, 1, 4, bible.Book.GENESIS) +reference = bible.NormalizedReference( + bible.Book.GENESIS, 1, 1, 1, 4, bible.Book.GENESIS +) verse_ids = bible.convert_reference_to_verse_ids(reference) ``` @@ -129,7 +131,16 @@ For example, the following list of verse ids represents the references Matthew 1 ```python import pythonbible as bible -verse_ids = [40018012, 40018013, 40018014, 42015003, 42015004, 42015005, 42015006, 42015007, ] +verse_ids = [ + 40018012, + 40018013, + 40018014, + 42015003, + 42015004, + 42015005, + 42015006, + 42015007, +] references = bible.convert_verse_ids_to_references(verse_ids) ``` @@ -175,7 +186,7 @@ formatted_reference = bible.format_scripture_references(references) The resulting formatted reference should be: ```python -'Isaiah 55:13;Philippians 4:4-8' +"Isaiah 55:13;Philippians 4:4-8" ``` There are a couple of reference formatting features not yet implemented: @@ -197,7 +208,7 @@ verse_text = bible.get_verse_text(1001001, version=bible.Version.KING_JAMES) The resulting verse_text would be: ```python -'In the beginning God created the heaven and the earth.' +"In the beginning God created the heaven and the earth." ``` The version argument is optional and currently defaults to ``AMERICAN_STANDARD``. Ideally, that default will be configurable in a future release. diff --git a/pythonbible/README.md b/pythonbible/README.md index ed74fff..ec8ad0c 100644 --- a/pythonbible/README.md +++ b/pythonbible/README.md @@ -111,7 +111,9 @@ For example, given the following normalized scripture reference for Genesis 1:1- ```python import pythonbible as bible -reference = bible.NormalizedReference(bible.Book.GENESIS, 1, 1, 1, 4, bible.Book.GENESIS) +reference = bible.NormalizedReference( + bible.Book.GENESIS, 1, 1, 1, 4, bible.Book.GENESIS +) verse_ids = bible.convert_reference_to_verse_ids(reference) ``` @@ -129,7 +131,16 @@ For example, the following list of verse ids represents the references Matthew 1 ```python import pythonbible as bible -verse_ids = [40018012, 40018013, 40018014, 42015003, 42015004, 42015005, 42015006, 42015007, ] +verse_ids = [ + 40018012, + 40018013, + 40018014, + 42015003, + 42015004, + 42015005, + 42015006, + 42015007, +] references = bible.convert_verse_ids_to_references(verse_ids) ``` @@ -175,7 +186,7 @@ formatted_reference = bible.format_scripture_references(references) The resulting formatted reference should be: ```python -'Isaiah 55:13;Philippians 4:4-8' +"Isaiah 55:13;Philippians 4:4-8" ``` There are a couple of reference formatting features not yet implemented: @@ -197,7 +208,7 @@ verse_text = bible.get_verse_text(1001001, version=bible.Version.KING_JAMES) The resulting verse_text would be: ```python -'In the beginning God created the heaven and the earth.' +"In the beginning God created the heaven and the earth." ``` The version argument is optional and currently defaults to ``AMERICAN_STANDARD``. Ideally, that default will be configurable in a future release.