Skip to content

Commit aff9379

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 15555b8 commit aff9379

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

tests/formatter/conftest.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
import pytest
44

55

6-
@pytest.fixture()
6+
@pytest.fixture
77
def formatted_reference() -> str:
88
return "Psalms 130:4,8;Jeremiah 29:32-30:10,31:12;Matthew 1:18-2:18;Luke 3:5-7"
99

1010

11-
@pytest.fixture()
11+
@pytest.fixture
1212
def html_scripture_text() -> str:
1313
return (
1414
"<h1>Matthew</h1>\n"
@@ -34,7 +34,7 @@ def html_scripture_text() -> str:
3434
)
3535

3636

37-
@pytest.fixture()
37+
@pytest.fixture
3838
def non_html_scripture_text() -> str:
3939
return (
4040
"Matthew\n"
@@ -65,7 +65,7 @@ def non_html_scripture_text() -> str:
6565
)
6666

6767

68-
@pytest.fixture()
68+
@pytest.fixture
6969
def non_html_scripture_text_readers() -> str:
7070
return (
7171
"Matthew\n"
@@ -95,7 +95,7 @@ def non_html_scripture_text_readers() -> str:
9595
)
9696

9797

98-
@pytest.fixture()
98+
@pytest.fixture
9999
def html_scripture_text_one_verse_per_paragraph() -> str:
100100
return (
101101
"<h1>Matthew</h1>\n"
@@ -115,7 +115,7 @@ def html_scripture_text_one_verse_per_paragraph() -> str:
115115
)
116116

117117

118-
@pytest.fixture()
118+
@pytest.fixture
119119
def non_html_scripture_text_one_verse_per_paragraph() -> str:
120120
return (
121121
"Matthew\n"
@@ -149,22 +149,22 @@ def non_html_scripture_text_one_verse_per_paragraph() -> str:
149149
)
150150

151151

152-
@pytest.fixture()
152+
@pytest.fixture
153153
def verse_text_no_verse_number() -> str:
154154
return "In the beginning God created the heaven and the earth."
155155

156156

157-
@pytest.fixture()
157+
@pytest.fixture
158158
def long_book_title() -> str:
159159
return "The First Book of Moses, called Genesis"
160160

161161

162-
@pytest.fixture()
162+
@pytest.fixture
163163
def short_book_title() -> str:
164164
return "Genesis"
165165

166166

167-
@pytest.fixture()
167+
@pytest.fixture
168168
def verse_ids_multiple_chapters() -> list[int]:
169169
return [
170170
40018012,

tests/parser/conftest.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,43 @@
55
import pythonbible as bible
66

77

8-
@pytest.fixture()
8+
@pytest.fixture
99
def text_with_reference() -> str:
1010
return "The parable of the lost sheep is told in Matthew 18:12-14 and Luke 15:3-7."
1111

1212

13-
@pytest.fixture()
13+
@pytest.fixture
1414
def text_with_reference_complex() -> str:
1515
return (
1616
"You should read Psalm 130:4,8, Jeremiah 29:32-30:10,31:12, "
1717
"Matthew 1:18 - 2:18, and Luke 3: 5-7."
1818
)
1919

2020

21-
@pytest.fixture()
21+
@pytest.fixture
2222
def non_normalized_reference() -> str:
2323
return "Matthew 18:12-14"
2424

2525

26-
@pytest.fixture()
26+
@pytest.fixture
2727
def reference_without_verse_numbers() -> str:
2828
return "Exodus 20"
2929

3030

31-
@pytest.fixture()
31+
@pytest.fixture
3232
def reference_range_without_verse_numbers() -> str:
3333
return "Genesis 1-4"
3434

3535

36-
@pytest.fixture()
36+
@pytest.fixture
3737
def roman_numeral_references() -> str:
3838
return (
3939
"Psalm cxxx.4,8, Jeremiah xxix. 32 - xxx. 10, xxxi. 12, "
4040
"Matthew i. 18 - ii. 18, and Luke iii. 5-7."
4141
)
4242

4343

44-
@pytest.fixture()
44+
@pytest.fixture
4545
def book_alternative_names() -> dict[bible.Book, list[str]]:
4646
return {
4747
bible.Book.GENESIS: [
@@ -542,7 +542,7 @@ def book_alternative_names() -> dict[bible.Book, list[str]]:
542542
}
543543

544544

545-
@pytest.fixture()
545+
@pytest.fixture
546546
def book_alternative_names_verbum() -> dict[bible.Book, list[str]]:
547547
"""Return the abbreviations supported by verbum.
548548

0 commit comments

Comments
 (0)