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

tests/mobanfile/test_templates.py

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

4-
import pytest
54
import fs.path
65

76
from moban.core.mobanfile.templates import handle_template

tests/test_buffered_writer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import unittest
44

55
import fs
6-
import pytest
76

87
from moban.externals import file_system
98
from moban.externals.buffered_writer import BufferedWriter, write_file_out

tests/test_copy_engine.py

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

44
import fs
5-
import pytest
65

76
from moban.core import ENGINES
87
from moban.externals import file_system

tests/test_definitions.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.deprecated import GitRequire
42
from moban.core.definitions import TemplateTarget
53

tests/test_docs.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 .utils import Docs, custom_dedent
76

tests/test_store.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.core.definitions import TemplateTarget
42
from moban.core.mobanfile.store import Store
53

0 commit comments

Comments
 (0)