Skip to content

Commit 658dd65

Browse files
committed
Make mypy check pass
1 parent 46107ab commit 658dd65

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,11 @@ enable_error_code = [
116116

117117
[[tool.mypy.overrides]]
118118
module = [
119+
"pytest",
119120
"sqlalchemy",
120121
"sqlalchemy.orm",
121122
"sqlalchemy.sql",
123+
"sqlalchemy.sql.expression",
122124
"whoosh",
123125
"whoosh.analysis",
124126
"whoosh.fields",

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
)
1010

1111

12-
@pytest.fixture(scope='session')
12+
@pytest.fixture(scope='session') # type: ignore[misc]
1313
def rootdir() -> Path:
1414
return Path(__file__).resolve().parent / 'roots'

0 commit comments

Comments
 (0)