Skip to content

Commit 034a999

Browse files
committed
Fixing ruff issues
Signed-off-by: Marc Romeyn <[email protected]>
1 parent 8bd37c9 commit 034a999

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

test/cli/test_cli_parser.py

-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
Type,
2626
Union,
2727
ForwardRef,
28-
TYPE_CHECKING,
2928
)
3029

3130
import pytest
@@ -47,9 +46,6 @@
4746
)
4847
from nemo_run.config import Config, Partial
4948

50-
if TYPE_CHECKING:
51-
from nemo.collections.common.tokenizers.tokenizer_spec import TokenizerSpec
52-
5349

5450
class TestSimpleValueParsing:
5551
def test_int_parsing(self):

test/dummy_factory.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@
1414
# limitations under the License.
1515

1616
from dataclasses import dataclass
17-
from typing import List, TYPE_CHECKING, ForwardRef
17+
from typing import List, ForwardRef
1818

1919
import nemo_run as run
2020

21-
if TYPE_CHECKING:
22-
from nemo.collections.common.tokenizers.tokenizer_spec import TokenizerSpec
23-
2421

2522
@dataclass
2623
class DummyModel:

0 commit comments

Comments
 (0)