From 29a114c76f9c4600dffb4a57e8a60cd9ed6808b8 Mon Sep 17 00:00:00 2001 From: Nathan Patton Date: Tue, 11 Nov 2025 18:45:43 -0600 Subject: [PATCH 1/3] fix examples in readme to match latest output formats --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c2eac0e..ed74fff 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ The search functionality should return the following list of scripture reference start_verse=12, end_chapter=18, end_verse=14, - end_book=None + end_book= ), NormalizedReference( book=, @@ -79,7 +79,7 @@ The search functionality should return the following list of scripture reference start_verse=3, end_chapter=15, end_verse=7, - end_book=None + end_book= ) ] ``` @@ -111,14 +111,14 @@ 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) +reference = bible.NormalizedReference(bible.Book.GENESIS, 1, 1, 1, 4, bible.Book.GENESIS) verse_ids = bible.convert_reference_to_verse_ids(reference) ``` The conversion functionality would return the following list of verse id integers: ```python -[1001001, 1001002, 1001003, 1001004] +(1001001, 1001002, 1001003, 1001004) ``` ### Converting a list of verse id integers into a list of normalized scripture references @@ -143,7 +143,7 @@ The conversion functionality would return the following list of normalized scrip start_verse=12, end_chapter=18, end_verse=14, - end_book=None + end_book= ), NormalizedReference( book=, @@ -151,7 +151,7 @@ The conversion functionality would return the following list of normalized scrip start_verse=3, end_chapter=15, end_verse=7, - end_book=None + end_book= ) ] ``` From fb79eb7a7ad9248dc31a53baff99c4a8cb5389e4 Mon Sep 17 00:00:00 2001 From: Nathan Patton Date: Tue, 11 Nov 2025 19:09:19 -0600 Subject: [PATCH 2/3] ignore the massive, auto-generated bible versions files in the codeql analysis workflow --- .github/workflows/codeql-analysis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e1df06a..bd2ea91 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,8 +9,11 @@ on: push: branches: - main + paths-ignore: + - 'pythonbible/bible/versions/**' pull_request: - + paths-ignore: + - 'pythonbible/bible/versions/**' jobs: analyze: name: Analyze From 76ffd334dfa06d8c77fd9c5a4b400208f9c42ab7 Mon Sep 17 00:00:00 2001 From: Nathan Patton Date: Tue, 11 Nov 2025 19:15:09 -0600 Subject: [PATCH 3/3] ignore the massive, auto-generated bible versions files in the codeql analysis workflow --- .github/workflows/codeql-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bd2ea91..5967d0f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,7 +13,7 @@ on: - 'pythonbible/bible/versions/**' pull_request: paths-ignore: - - 'pythonbible/bible/versions/**' + - '**/bible/versions/**' jobs: analyze: name: Analyze