Skip to content

Commit 45df4c2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 59489ed commit 45df4c2

2 files changed

Lines changed: 30 additions & 8 deletions

File tree

‎README.md‎

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ For example, given the following normalized scripture reference for Genesis 1:1-
111111
```python
112112
import pythonbible as bible
113113

114-
reference = bible.NormalizedReference(bible.Book.GENESIS, 1, 1, 1, 4, bible.Book.GENESIS)
114+
reference = bible.NormalizedReference(
115+
bible.Book.GENESIS, 1, 1, 1, 4, bible.Book.GENESIS
116+
)
115117
verse_ids = bible.convert_reference_to_verse_ids(reference)
116118
```
117119

@@ -129,7 +131,16 @@ For example, the following list of verse ids represents the references Matthew 1
129131
```python
130132
import pythonbible as bible
131133

132-
verse_ids = [40018012, 40018013, 40018014, 42015003, 42015004, 42015005, 42015006, 42015007, ]
134+
verse_ids = [
135+
40018012,
136+
40018013,
137+
40018014,
138+
42015003,
139+
42015004,
140+
42015005,
141+
42015006,
142+
42015007,
143+
]
133144
references = bible.convert_verse_ids_to_references(verse_ids)
134145
```
135146

@@ -175,7 +186,7 @@ formatted_reference = bible.format_scripture_references(references)
175186
The resulting formatted reference should be:
176187

177188
```python
178-
'Isaiah 55:13;Philippians 4:4-8'
189+
"Isaiah 55:13;Philippians 4:4-8"
179190
```
180191

181192
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)
197208
The resulting verse_text would be:
198209

199210
```python
200-
'In the beginning God created the heaven and the earth.'
211+
"In the beginning God created the heaven and the earth."
201212
```
202213

203214
The version argument is optional and currently defaults to ``AMERICAN_STANDARD``. Ideally, that default will be configurable in a future release.

‎pythonbible/README.md‎

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ For example, given the following normalized scripture reference for Genesis 1:1-
111111
```python
112112
import pythonbible as bible
113113

114-
reference = bible.NormalizedReference(bible.Book.GENESIS, 1, 1, 1, 4, bible.Book.GENESIS)
114+
reference = bible.NormalizedReference(
115+
bible.Book.GENESIS, 1, 1, 1, 4, bible.Book.GENESIS
116+
)
115117
verse_ids = bible.convert_reference_to_verse_ids(reference)
116118
```
117119

@@ -129,7 +131,16 @@ For example, the following list of verse ids represents the references Matthew 1
129131
```python
130132
import pythonbible as bible
131133

132-
verse_ids = [40018012, 40018013, 40018014, 42015003, 42015004, 42015005, 42015006, 42015007, ]
134+
verse_ids = [
135+
40018012,
136+
40018013,
137+
40018014,
138+
42015003,
139+
42015004,
140+
42015005,
141+
42015006,
142+
42015007,
143+
]
133144
references = bible.convert_verse_ids_to_references(verse_ids)
134145
```
135146

@@ -175,7 +186,7 @@ formatted_reference = bible.format_scripture_references(references)
175186
The resulting formatted reference should be:
176187

177188
```python
178-
'Isaiah 55:13;Philippians 4:4-8'
189+
"Isaiah 55:13;Philippians 4:4-8"
179190
```
180191

181192
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)
197208
The resulting verse_text would be:
198209

199210
```python
200-
'In the beginning God created the heaven and the earth.'
211+
"In the beginning God created the heaven and the earth."
201212
```
202213

203214
The version argument is optional and currently defaults to ``AMERICAN_STANDARD``. Ideally, that default will be configurable in a future release.

0 commit comments

Comments
 (0)