From 1415d125ed81c22e24835e93b9bd1c3f60eb070e Mon Sep 17 00:00:00 2001 From: TaperChipmunk32 Date: Wed, 23 Oct 2024 12:36:33 -0500 Subject: [PATCH] Updated pyright and fixed import error --- .github/workflows/ci.yml | 2 +- tests/corpora/test_paratext_project_terms_parser.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae44e29..36ebae6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: node-version: "14" - name: Lint with pyright run: | - npm install -g pyright@1.1.362 + npm install -g pyright@1.1.386 poetry run pyright - name: Test with pytest run: poetry run pytest --cov --cov-report=xml diff --git a/tests/corpora/test_paratext_project_terms_parser.py b/tests/corpora/test_paratext_project_terms_parser.py index 3ba87c5..4d08ec0 100644 --- a/tests/corpora/test_paratext_project_terms_parser.py +++ b/tests/corpora/test_paratext_project_terms_parser.py @@ -1,10 +1,9 @@ from typing import Dict, List, Optional, Tuple -from testutils.memory_paratext_project_terms_parser import MemoryParatextProjectTermsParser - from machine.corpora import ParatextProjectSettings, ParatextProjectTermsParserBase, UsfmStylesheet from machine.corpora.paratext_project_terms_parser_base import _get_glosses, _strip_parens from machine.scripture import ORIGINAL_VERSIFICATION, Versification +from tests.testutils.memory_paratext_project_terms_parser import MemoryParatextProjectTermsParser def test_get_key_terms_from_terms_renderings() -> None: