Skip to content

Commit 2aed3c8

Browse files
authored
Merge branch 'main' into issue-66-parsing-additional-translations
2 parents f2d9b28 + 782fb38 commit 2aed3c8

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: name-tests-test
1313
- id: requirements-txt-fixer
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: 'v0.4.5'
15+
rev: 'v0.6.1'
1616
hooks:
1717
- id: ruff
1818
args: [ --fix, --exit-non-zero-on-fix ]

tests/conftest.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
import pythonbible as bible
77

88

9-
@pytest.fixture()
9+
@pytest.fixture
1010
def verse_id() -> int:
1111
return 1001001
1212

1313

14-
@pytest.fixture()
14+
@pytest.fixture
1515
def invalid_verse_id() -> int:
1616
return 1100100
1717

1818

19-
@pytest.fixture()
19+
@pytest.fixture
2020
def verse_ids_complex() -> list[int]:
2121
return [
2222
19130004,
@@ -65,12 +65,12 @@ def verse_ids_complex() -> list[int]:
6565
]
6666

6767

68-
@pytest.fixture()
68+
@pytest.fixture
6969
def verse_text() -> str:
7070
return "1. In the beginning God created the heaven and the earth."
7171

7272

73-
@pytest.fixture()
73+
@pytest.fixture
7474
def kjv_passage() -> dict[bible.Book, dict[int, list[str]]]:
7575
return OrderedDict(
7676
[
@@ -153,7 +153,7 @@ def kjv_passage() -> dict[bible.Book, dict[int, list[str]]]:
153153
)
154154

155155

156-
@pytest.fixture()
156+
@pytest.fixture
157157
def kjv_passage_no_verse_numbers() -> dict[bible.Book, dict[int, list[str]]]:
158158
return OrderedDict(
159159
[
@@ -236,7 +236,7 @@ def kjv_passage_no_verse_numbers() -> dict[bible.Book, dict[int, list[str]]]:
236236
)
237237

238238

239-
@pytest.fixture()
239+
@pytest.fixture
240240
def asv_passage() -> dict[bible.Book, dict[int, list[str]]]:
241241
return OrderedDict(
242242
[

0 commit comments

Comments
 (0)