diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e1df06a..5967d0f 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: + - '**/bible/versions/**' jobs: analyze: name: Analyze 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= ) ] ```