Skip to content

Commit 5b6fab7

Browse files
authored
remove redundant imports (#408)
1 parent f983e09 commit 5b6fab7

16 files changed

+0
-21
lines changed

tests/core/test_context.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22

3-
import pytest
43
import fs.path
54

65
from moban.core.context import Context

tests/data_loaders/test_json_loader.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import pytest
21
import fs.path
32

43
from moban.plugins.json_loader import open_json

tests/data_loaders/test_merge_dict.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import pytest
21
from ruamel.yaml import YAML
32

43
from moban.core.data_loader import merge

tests/data_loaders/test_overrides.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import os
22

33
import fs
4-
import pytest
54

65
from moban.main import load_engine_factory_and_engines
76
from moban.core.data_loader import load_data

tests/deprecated/test_handle_requires.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from unittest.mock import patch
22

3-
import pytest
4-
53
from moban.deprecated import GitRequire
64

75

tests/jinja2/test_engine.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import fs
2-
import pytest
32

43
from moban.externals import file_system
54
from moban.plugins.jinja2.engine import Engine

tests/jinja2/test_extensions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import os
22

33
import fs
4-
import pytest
54

65
from moban.externals import file_system
76
from moban.core.moban_factory import MobanEngine

tests/jinja2/test_repr.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import pytest
2-
31
from moban.plugins.jinja2.filters.repr import repr as repr_function
42

53

tests/jinja2/test_text.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import pytest
2-
31
from moban.plugins.jinja2.filters.text import split_length
42

53

tests/mobanfile/test_mobanfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from unittest.mock import patch
22

3-
import pytest
43
import fs.path
54

65
from moban.core.definitions import TemplateTarget

0 commit comments

Comments
 (0)