Skip to content

Commit d73f0fc

Browse files
authored
Merge pull request #366 from MITLibraries/TIMX-536-537
TIMX 536 537 - Update TIM for TDA v3
2 parents c0ce8ba + bbd23ed commit d73f0fc

14 files changed

+1260
-1168
lines changed

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "pypi"
77
boto3 = "*"
88
click = "*"
99
ijson = "*"
10-
opensearch-py = "*"
10+
opensearch-py = "<3.0"
1111
rich-click = "*"
1212
sentry-sdk = "*"
1313
smart-open = {extras = ["s3"], version = "*"}

Pipfile.lock

Lines changed: 1236 additions & 1143 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ line-length = 90
44
[tool.mypy]
55
disallow_untyped_calls = true
66
disallow_untyped_defs = true
7-
exclude = ["tests/"]
7+
exclude = ["tests/", "output/"]
88

99
[[tool.mypy.overrides]]
1010
module = ["ijson", "smart_open", "timdex_dataset_api"]
@@ -43,8 +43,7 @@ ignore = [
4343
"PLR0912",
4444
"PLR0913",
4545
"PLR0915",
46-
"S320",
47-
"S321",
46+
"S321",
4847
]
4948

5049
# allow autofix behavior for specified rules

tests/conftest.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ def runner():
3838

3939
@pytest.fixture
4040
def timdex_dataset() -> TIMDEXDataset:
41-
td = TIMDEXDataset("tests/fixtures/dataset")
42-
td.load()
43-
return td
41+
return TIMDEXDataset("tests/fixtures/dataset")
4442

4543

4644
@pytest.fixture
524 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)